toDouble

abstract fun toDouble(unit: U): Double

Expresses the value of this under the given unit as a Double.