MathUtilConvertUnits Method (Double, TimeUnit, TimeUnit) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static double ConvertUnits(
double input,
TimeUnit input_type,
TimeUnit output_type
)
Public Shared Function ConvertUnits (
input As Double,
input_type As TimeUnit,
output_type As TimeUnit
) As Double
Parameters
- input
- Type: SystemDouble
Quantity of original time units. - input_type
- Type: Telogis.GeoBaseTimeUnit
Original TimeUnit (such as HOUR). - output_type
- Type: Telogis.GeoBaseTimeUnit
Desired TimeUnit (such as MINUTE).
Return Value
Type:
DoubleThe
input time units in
output_type units.
Examples The following code snippet converts 24 hours into minutes.
ConvertUnits(24, HOUR, MINUTE);
See Also