Unit

enum Unit : Enum<Weight.Unit>

The unit of a weight's value.

Entries

Link copied to clipboard
LONG_TON("t (UK)", )

Describes a weight in long tons. (Commonly used in the UK.)

Link copied to clipboard
METRIC_TON("t", )

Describes a weight in metric tons. (Commonly used in Europe.)

Link copied to clipboard
SHORT_TON("t (US)", )

Describes a weight in short tons. (Commonly used in the US.)

Link copied to clipboard
POUND("lbs", )

Describes a weight in pounds.

Link copied to clipboard
TROY_OUNCE("oz", )

Describes a weight in troy ounces.

Link copied to clipboard
OUNCE("oz", )

Describes a weight in ounces.

Link copied to clipboard
KILOGRAM("kg", )

Describes a weight in kilograms.

Link copied to clipboard
GRAM("g", )

Describes a weight in grams.

Inherited properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int