MathUtilRoundToIncrement Method |  |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Returns a double value rounded to a specified increment.
e.g. RoundToIncrement(23, 5) returns 25, RountToIncrement(23, 10) returns 20.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntaxpublic static double RoundToIncrement(
double value,
int increment
)
Public Shared Function RoundToIncrement (
value As Double,
increment As Integer
) As Double
Parameters
- value
- Type: SystemDouble
The value to be rounded. - increment
- Type: SystemInt32
The increment to round to.
Return Value
Type:
DoubleThe rounded value.
See Also