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.
The
RationalNumber
type does not expose atoString()
method in similar ways as e.g. BigDecimal, thus calling toString results in output liketech.units.indriya.function.RationalNumber@78c0
. There should be a propertoString()
method inRationalNumber
, too.