Click or drag to resize

MathUtilUnitsToKilograms Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Converts a given mass unit to kilograms.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.98.0.0
Syntax
public static double UnitsToKilograms(
	double mass,
	MassUnit units
)

Parameters

mass
Type: SystemDouble
Given mass (to convert to kilograms).
units
Type: Telogis.GeoBaseMassUnit
Units of mass.

Return Value

Type: Double
Kilogram equivalent of mass.
Exceptions
ExceptionCondition
UnexpectedArgumentExceptionThrown when the units MassUnit is not recognized.
See Also