of

infix fun of(magnitude: Double): Measure<U>

Creates a new measure of this unit with the given value. The resulting measure is immutable and cannot have its value modified.

Return

the measure

Parameters

magnitude

the magnitude of the measure to create