toLong

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

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