into

infix fun <U : Unit<U>> Measure<U>.into(unit: U): Double

Converts a measure into a given unit, return the value as a double.

Return

The measure's magnitude converted into the given unit.

Since

2024-02-08

See also

Measure