On Nov 27, 11:24 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> Ronan Paixão wrote:
> > I just found a problem with Integer(). It doesn't seem to work fine with
> > float strings.
> > Those work fine:
> > Integer("1")
> > Integer(1.)
>
> > But this doesn't:
> > Integer("1.")
>
> More data:
>
> Integer(RR('1.')) works
> Integer(RR('1.0')) works
>
> Integer('1.0') doesn't work
>
> I think that at least '1.' ought to be converted to an integer.

Seems like a reasonable request. I would even allow ("$FOO.0"). Care
to open a ticket?

> Jason

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to