0fe97993f4
This fixes an edge case in which there were trailing zeros that resulted from the decimal having a non-zero part outside the precision range. E.g. if precision were 10, `0.00000000000000000001` would be printed as `0.0000000000`. This issue occured often when doing unit conversions between cm and in (and similarly between dpcm and dpi).