On Dec 5, 2007 5:00 PM, Ivo Dancet <caifara.subscribe / gmail.com> wrote:
> Hi
>
> I thought, why search for two hours being totally frustrated if I can
> just ask...
>
> why does this happen:
>
>  >> 73.07-63.00
> => 10.07 # ok, normal!
>  >> 73.07-64.00
> => 9.06999999999999 # why oh why?

Thats folly of floats, you can't do much apart from :

sprintf("%.2f",(73.07-64.00)).to_f



-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org