Quantity
A base interface for quantities. Outlines the common operations to retrieve values and perform mathematical operations.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
Q
The quantity type implementing this interface.
U
An enum type that contains the units that the quantity's values can be in.
Constructors
Types
Link copied to clipboard
Output structure of format.
Functions
Link copied to clipboard
Returns a FormattedQuantity representation of the value from this
with the given unit.
Link copied to clipboard
Returns a new instance with the value from this
as negative.
Inheritors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard