MathRoutinesRoundToInt Method (Double) |
LightningChart .NET Help
Convert double 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
Syntaxpublic static int RoundToInt(
double x
)
Public Shared Function RoundToInt (
x As Double
) As Integer
public:
static int RoundToInt(
double x
)
Parameters
- x
- Type: SystemDouble
Value to convert
Return Value
Type:
Int32Nearest integer
See Also