Click or drag to resize

MathUtilConvertUnitsInt Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Convert a value from one distance unit to another, returning a rounded int result.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.98.0.0
Syntax
public static int ConvertUnitsInt(
	double input,
	DistanceUnit input_type,
	DistanceUnit output_type
)

Parameters

input
Type: SystemDouble
Distance to be converted.
input_type
Type: Telogis.GeoBaseDistanceUnit
Unit of input.
output_type
Type: Telogis.GeoBaseDistanceUnit
Desired unit of output.

Return Value

Type: Int32
The input distance units in output_type units.
See Also