abs

fun <T : Units> abs(measure: Measure<T>): Measure<T>(source)

Return

the absolute value of measure, retaining its units.

See also

extension property for Measure