as

infix fun <A : T> as(other: A): Measure<T>(source)

Convert this Measure into another compatible one with different units. Type must share parent (i.e. Mile into Kilometer, because they both are made from Distance)