Weight
A quantity describing weight. (For example, 10 kilograms.)
Types
Functions
Link copied to clipboard
Expresses the weight's value in kilograms.
Link copied to clipboard
Expresses the weight's value in long tons.
Link copied to clipboard
Expresses the weight's value in metric tons.
Link copied to clipboard
Expresses the weight's value in short tons.
Link copied to clipboard
Expresses the weight's value in grams.
Link copied to clipboard
Expresses the weight's value in kilograms.
Link copied to clipboard
Expresses the weight's value in long tons.
Link copied to clipboard
Expresses the weight's value in metric tons.
Link copied to clipboard
Expresses the weight's value in ounces.
Link copied to clipboard
Expresses the weight's value in pounds.
Link copied to clipboard
Expresses the weight's value in short tons.
Link copied to clipboard
Creates a new instance with the provided rawValue.
Link copied to clipboard
Returns a new instance with the value from this
as negative.
Inherited functions
Link copied to clipboard
Returns a FormattedQuantity representation of the value from this
in the given unit.