commit | 2c75665445b555d0bf712566e7d8874e57c5ad81 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Wed Dec 31 02:20:57 2014 +0200 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Wed Dec 31 02:21:19 2014 +0200 |
tree | ee9c4193b35cd6909af7b5414909e2ae5862aa49 | |
parent | 8a2cc1c7e4c08aa83dc05a3b472caf1e71972d22 [diff] [blame] |
objstr: Fix %d-formatting of floats.
diff --git a/tests/float/float2int.py b/tests/float/float2int.py index 59d904e..ca2914c 100644 --- a/tests/float/float2int.py +++ b/tests/float/float2int.py
@@ -3,3 +3,8 @@ # TODO: General case with large exponent #print(int(2.**100)) + +print("%d" % 1418774543.) + +# TODO: General case with large exponent +#print("%d" % 2.**100)