ChartToolsRoundToNearestInterval Method |
LightningChart .NET Help
Rounds the value to nearest multiple of Interval.
Namespace:
Arction.Wpf.Charting
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic static double RoundToNearestInterval(
double value,
double interval
)
Public Shared Function RoundToNearestInterval (
value As Double,
interval As Double
) As Double
public:
static double RoundToNearestInterval(
double value,
double interval
)
Parameters
- value
- Type: SystemDouble
Value to round. - interval
- Type: SystemDouble
Interval.
Return Value
Type:
DoubleNearest interval multiple.
See Also