Weight
A quantity describing weight. (For example, 10 kilograms.)
Important: This is a Public Preview API. It may be changed or removed at any time.
Types
Functions
Returns a FormattedQuantity representation of the value from this
with the given unit.
Expresses the weight's value in kilograms.
Expresses the weight's value in long tons.
Expresses the weight's value in metric tons.
Expresses the weight's value in short tons.
Expresses the weight's value in troy ounces.
Expresses the weight's value in grams.
Expresses the weight's value in kilograms.
Expresses the weight's value in long tons.
Expresses the weight's value in metric tons.
Expresses the weight's value in ounces.
Expresses the weight's value in pounds.
Expresses the weight's value in short tons.
Expresses the weight's value in troy ounces.
Returns a new instance with the value from this
as negative.