Click or drag to resize

MathUtilConvertUnits Method (Double, DistanceUnit, DistanceUnit)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Converts a distance from one distance unit to another.

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

Parameters

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

Return Value

Type: Double
The converted input distance.
See Also