toDouble

open override fun toDouble(unit: ElectricCurrent.Unit): Double

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