toLong

open override fun toLong(unit: ElectricCurrent.Unit): Long

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