On 03/13/2015 03:14 PM, Chris Angelico wrote:
On Sat, Mar 14, 2015 at 9:10 AM, emile <em...@fenx.com> wrote:
(Pdb) decval
'4'
(Pdb) len(decval)
1
(Pdb) int(decval)
*** ValueError: invalid literal for int() with base 10: '41.700000000000003'
(Pdb)
Any ideas?
What's type(decval) tell you? I suspect you may have something other
than a string, even though it looks like a string in its repr.
>sigh< Now it's running again. Up to 20 minutes ago when I posted it
continually.
Is-it-time-to-go-pick-grapes-yet?-ly y'rs,
Emile
--
https://mail.python.org/mailman/listinfo/python-list