WeightUnit

Units of measurements for weight.

Show definition
# Units of measurements for weight.
enum WeightUnit {
  # 1 equals 1000 grams
  KILOGRAMS

  # Metric system unit of mass
  GRAMS

  # 1 equals 16 ounces
  POUNDS

  # Imperial system unit of mass
  OUNCES
}

Values

GRAMS

Metric system unit of mass

KILOGRAMS

1 equals 1000 grams

OUNCES

Imperial system unit of mass

POUNDS

1 equals 16 ounces