MathUtilConvertUnits Method (Double, DistanceUnit, DistanceUnit) | |
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.99.0.0
Syntax public static double ConvertUnits(
double input,
DistanceUnit input_type,
DistanceUnit output_type
)
Public Shared Function ConvertUnits (
input As Double,
input_type As DistanceUnit,
output_type As DistanceUnit
) As Double
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:
DoubleThe converted input distance.
See Also