tonnes property

Rational tonnes

Gets the number of tonnes in this Weight, including any fractional portion.

Implementation

Rational get tonnes => getUnits(WeightUnit.tonne);