convertTo

fun convertTo(toUnit: LinearUnit, value: Double): Double

Converts a value in this UOM into another UOM.

Return

The value in the target UOM or NAN if the conversion fails.

Since

200.1.0