On 15-Jun-08, at 6:45 AM, Mats wrote: > > Hello, > > I've done Integer=int, but however it seems that after I do "from > __future__ import division", I still get 2/3=1.
Can you give an example? > This does not occur in > the python interpreter; I get .666666... as I should. If you mean that you find sage: 2/3 .66666 then something is very strange. By default, the sage interpreter preparses '2/3' to 'Integer(2)/Integer(3)' which evaluates to a Rational, namely 2/3. So you should get sage: 2/3 2/3 You can turn off the preparser -- preparse? might give you useful information and examples. Examples of what you want to do would be useful. Nick --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---