Returns the amount of change in the integral that will happen over the given Time
Returns the amount of change in the integral that will happen over the given Time
Time
approx
approx
Returns the absolute value of this Quantity
Returns boolean result of approximate equality comparison
Returns boolean result of approximate equality comparison
Quantity
Quantity
Implements Ordered.compare
The Dimension this quantity represents
Divide this quantity by a like quantity
Divide this quantity by some number
Returns a Pair that includes the result of divideToInteger and remainder
Returns a Pair that includes the result of divideToInteger and remainder
Quantity
(Double, Quantity)
Returns a Pair that includes the result of divideToInteger and remainder
Returns a Pair that includes the result of divideToInteger and remainder
Double
(Quantity, Quantity)
Override of equals method
Override of equals method
must be of matching value and unit
Override of hashCode
Override of hashCode
Returns an equivalent Quantity boxed with the supplied Unit
Returns an equivalent Quantity boxed with the supplied Unit
UnitOfMeasure[A]
Quantity
Applies a function to the underlying value of the Quantity, returning a new Quantity in the same unit
Applies a function to the underlying value of the Quantity, returning a new Quantity in the same unit
Double => Double function
Returns the max of this and that Quantity
Returns the min of this and that Quantity
Subtract two like quantities
Returns the negative value of this Quantity
Returns true if this value is not within (contains) the range
Returns true if this value is not within (contains) the range
QuantityRange
Boolean
Add two like quantities
Returns a QuantityRange representing the range for this value +- that
Returns a QuantityRange representing the range for this value +- that
Quantity
QuantityRange
Returns the remainder of a division by a like quantity
Returns the remainder of a division by a like quantity
Quantity
Double
Returns the remainder of a division by a number
Returns the remainder of a division by a number
Quantity
Quantity
Multiply this quantity by some number
Returns a Double representing the quantity in terms of the supplied unit
Returns a Double representing the quantity in terms of the supplied unit
val d = Feet(3) (d to Inches) should be(36)
UnitOfMeasure[A]
Double
Returns a QuantityRange that goes from this to that
Returns a QuantityRange that goes from this to that
Quantity
QuantityRange
Returns a string representing the quantity's value in the given unit
in the given format
Returns a string representing the quantity's value in the given unit
in the given format
UnitOfMeasure[A] with UnitConverter
String containing the format for the value (ie "%.3f")
String
Returns a string representing the quantity's value in the given unit
Returns a string representing the quantity's value in the given unit
UnitOfMeasure[A] with UnitConverter
String
Returns a string representing the quantity's value in unit
Returns a string representing the quantity's value in unit
String
Returns a pair representing the numeric value and the uom's symbol
Returns a pair representing the numeric value and the uom's symbol
UnitOfMeasure[A]
Returns a tuple representing the numeric value and the unit's symbol
Returns a tuple representing the numeric value and the unit's symbol
The Unit of Measure the value represents
Double
Returns true if this value is within (contains) the range
Returns true if this value is within (contains) the range
QuantityRange
Boolean
approx
approx
approx
approx
0.1