SyntaxFix
Write A Post
Hire A Developer
Questions
>>> x = "2342.34" >>> float(x) 2342.3400000000001
There you go. Use float (which behaves like and has the same precision as a C,C++, or Java double).