Distance
A quantity describing a distance. (For example, 10 kilometers.)
Types
Functions
Link copied to clipboard
Expresses the distance's value in centimeters.
Link copied to clipboard
Expresses the distance's value in kilometers.
Link copied to clipboard
Expresses the distance's value in millimeters.
Link copied to clipboard
Expresses the distance's value in centimeters.
Link copied to clipboard
Expresses the distance's value in feet.
Link copied to clipboard
Expresses the distance's value in inches.
Link copied to clipboard
Expresses the distance's value in kilometers.
Link copied to clipboard
Expresses the distance's value in meters.
Link copied to clipboard
Expresses the distance's value in miles.
Link copied to clipboard
Expresses the distance's value in millimeters.
Link copied to clipboard
Expresses the distance's value in yards.
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.