On Dec 1, 5:52=A0am, Marnen Laibow-Koser <mar... / marnen.org> wrote:
> MaggotChild wrote:
> >>> j =3D 5/2.0
> > =3D> 2.5
>
> > I'm fine with this
>
> >>> j =3D 4/2.0
> > =3D> 2.0
>
> > Useless precision -for me. I want 2!
>
> The notation is misleading. =A0It's not a question of precision, but of
> type. =A0You can think of 2.0 as 2:Float, not 2 to 2 significant figures.

Yes, I do, but when it comes to printing, Float does not.

>
> >>> j =3D=3D j.to_i ? j.to_i : j
> > =3D> 2
>
> > Is there a "better" way?
>
> Why even bother?

OCD