WeightUnit enum

Version unstable

Units of measurement for weight.

Values

  • GRAMS

    Metric system unit of mass.

  • KILOGRAMS

    1 kilogram equals 1000 grams.

  • OUNCES

    Imperial system unit of mass.

  • POUNDS

    1 pound equals 16 ounces.

Types that return WeightUnit

Version 2021-10 (Release candidate)

Units of measurement for weight.

Values

  • GRAMS

    Metric system unit of mass.

  • KILOGRAMS

    1 kilogram equals 1000 grams.

  • OUNCES

    Imperial system unit of mass.

  • POUNDS

    1 pound equals 16 ounces.

Types that return WeightUnit

Version 2021-07 (Latest)

Units of measurement for weight.

Values

  • GRAMS

    Metric system unit of mass.

  • KILOGRAMS

    1 kilogram equals 1000 grams.

  • OUNCES

    Imperial system unit of mass.

  • POUNDS

    1 pound equals 16 ounces.

Types that return WeightUnit

Version 2021-04

Units of measurement for weight.

Values

  • GRAMS

    Metric system unit of mass.

  • KILOGRAMS

    1 kilogram equals 1000 grams.

  • OUNCES

    Imperial system unit of mass.

  • POUNDS

    1 pound equals 16 ounces.

Types that return WeightUnit

Version 2021-01

Units of measurement for weight.

Values

  • GRAMS

    Metric system unit of mass.

  • KILOGRAMS

    1 kilogram equals 1000 grams.

  • OUNCES

    Imperial system unit of mass.

  • POUNDS

    1 pound equals 16 ounces.

Types that return WeightUnit

Version 2020-10

Units of measurement for weight.

Values

  • GRAMS

    Metric system unit of mass.

  • KILOGRAMS

    1 kilogram equals 1000 grams.

  • OUNCES

    Imperial system unit of mass.

  • POUNDS

    1 pound equals 16 ounces.

Types that return WeightUnit