Ratio
A quantity describing a ratio, also commonly used for probabilities. (For example, 10%.)
Types
Functions
Link copied to clipboard
Returns a complement of this ratio. Useful if the ratio represents a probability.
Link copied to clipboard
Expresses the ratio's value as a unit range.
Link copied to clipboard
Expresses the ratio's value in percent.
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.