Thank you all for the solutions!
Kwankyu
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://w
Or you can try the following method:
sage: 10.44-10.30==0.14
False
sage:
10.44.simplest_rational()-10.30.simplest_rational()==0.14.simplest_rational()
True
2012/6/12 Kwankyu
> Hi all,
>
> I am puzzled.
>
> sage: 10.44-10.30==0.14
> False
>
> How should I compare them to get True? Suddenly Sage
On Mon, Jun 11, 2012 at 6:45 PM, Kwankyu wrote:
> Hi all,
>
> I am puzzled.
>
> sage: 10.44-10.30==0.14
> False
>
> How should I compare them to get True? Suddenly Sage feels very alien to me.
> :-)
Use Python's (hence Sage's) decimal module, which is designed to do
arithmetic with decimal number
Hi all,
I am puzzled.
sage: 10.44-10.30==0.14
False
How should I compare them to get True? Suddenly Sage feels very alien to
me. :-)
Kwankyu
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegr