On 28 Dez., 23:14, "William Stein" <[email protected]> wrote: > Is this the sort of thing you want? > > sage: n = 123.45 > sage: n > 123.450000000000 > sage: len(str(n).rstrip('0')) - 1 > 5 >
Thank you. That's exactly what I need. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
