Click or drag to resize

MathUtilRoundToIncrement Method

Verizon Connect Logo
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
Syntax
public static double RoundToIncrement(
	double value,
	int increment
)

Parameters

value
Type: SystemDouble
The value to be rounded.
increment
Type: SystemInt32
The increment to round to.

Return Value

Type: Double
The rounded value.
See Also