Kilo
open fun <U : Unit<U>?> Kilo(@NonNull baseUnit: Unit<U>, @NonNull name: String, @NonNull symbol: String): U
Creates a unit equal to a thousand of the base unit, eg Kilograms = Kilo(Units.Grams).
Return
the kilo-unit
Parameters
<U>
the type of the unit
base Unit
the unit being derived from. This does not have to be the base unit of measure
name
the name of the new derived unit
symbol
the symbol of the new derived unit
Creates a unit equal to a thousand of the base unit, eg Kilograms = Kilo(Units.Grams).
Return
the kilo-unit
Parameters
<U>
the type of the unit
base Unit
the unit being derived from. This does not have to be the base unit of measure