divide

open fun divide(divisor: Double): Measure<U>

Divides this measurement by some constant divisor and returns the result. This is equivalent to times(1 / divisor)

Return

the resulting measure

Parameters

divisor

the constant to divide by

See also


open fun <U2 : Unit<U2>?> divide(other: Measure<U2>): Measure<out Any>

Divides this measurement by another measure and performs some dimensional analysis to reduce the units.

Return

the resulting measure

Parameters

<U2>

the type of the other measure to multiply by

other

the unit to multiply by