> I think a good idea would to allow that optional parameter that would
> basically act as:
> def to_s(n =3D DEFAULT_PRECISION)
> =A0"%.#{n}f" % float
> end
> and the default value be according to have a similar result to 1.8.

I recently discovered Float#round the other day, if that's of any use.

> 1.1-0.9
=3D> 0.20000000000000007
>> (1.1-0.9).round(2)
=3D> 0.2