API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

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-04 (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-01 (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 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

Version 2020-07

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-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 2020-01 (Unsupported)

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 2019-10 (Unsupported)

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 2019-07 (Unsupported)

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 2019-04 (Unsupported)

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