Message60687
Logged In: YES
user_id=44345
This is probably a corner case that got missed in the
int/long convergence. Still, is there a reason not to use
%.f when you know you are passing a float and want to
display it with no fractional component?
>>> '%.f' % 2**50
'1125899906842624'
or %ld if you expect the range to exceed the integer limits of
your hardware?
>>> '%ld' % 2**50
'1125899906842624'
I agree the documentation could probably be improved
in this area.
|
|
Date |
User |
Action |
Args |
2008-01-20 09:57:35 | admin | link | issue1153226 messages |
2008-01-20 09:57:35 | admin | create | |
|