Unit

Types

Link copied to clipboard

Weight expressed in grams.

Link copied to clipboard

Weight expressed in kilograms.

Link copied to clipboard

Weight expressed in long tons. (Commonly used in the UK.)

Link copied to clipboard

Weight expressed in metric tons. (Commonly used in Europe.)

Link copied to clipboard

Weight expressed in ounces.

Link copied to clipboard

Weight expressed in pounds.

Link copied to clipboard

Weight expressed in short tons. (Commonly used in the US.)

Properties

Link copied to clipboard
open override val factor: Long

The conversion factor from the internal representation of the quantity to the unit.

Link copied to clipboard
open override val name: String

The name of the unit.