Okay, thank you very much! :)

Il giorno giovedì 29 maggio 2014 18:57:45 UTC+2, William ha scritto:
>
> If you just want to safely print numbers with the trailing zeros 
> removed, used strip: 
>
> a = 12.0000000000 
> b = 0.80000 
>
> str(a).rstrip('0') 
> str(b).rstrip('0') 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to