unitsofmeasurement / indriya

JSR 385 - Reference Implementation
Other
122 stars 42 forks source link

RationalNumber missing toString() #223

Closed keilw closed 5 years ago

keilw commented 5 years ago

The RationalNumber type does not expose a toString() method in similar ways as e.g. BigDecimal, thus calling toString results in output like tech.units.indriya.function.RationalNumber@78c0. There should be a proper toString() method in RationalNumber, too.

andi-huber commented 5 years ago

toString() provided via PR #225