toLong

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

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