MathRoutinesRoundToInt Method (Single) |
LightningChart .NET Help
Convert float value to nearest integer. The fast way.
Namespace:
Arction.Wpf.ChartingMVVM
Assembly:
Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntaxpublic static int RoundToInt(
float x
)
Public Shared Function RoundToInt (
x As Single
) As Integer
public:
static int RoundToInt(
float x
)
Parameters
- x
- Type: SystemSingle
Value to convert
Return Value
Type:
Int32Nearest integer
See Also