Click or drag to resize

MathRoutinesRoundToInt Method (Single)

LightningChart .NET Help
Convert float value to nearest integer. The fast way.

Namespace:  Arction.Wpf.Charting
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public static int RoundToInt(
	float x
)

Parameters

x
Type: SystemSingle
Value to convert

Return Value

Type: Int32
Nearest integer
See Also