>>> value = 1000000000000
>>> n = "{:,}".format(value)
>>> print(n)
1,000,000,000,000
>>> #Back to float
>>> float(n.translate(None, ','))
1000000000000.0
Slavi commented: Great read, but this 'Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins.. he's gone too far=D +6
Gribouillis commented: very good help +14
snippsat 661 Master Poster
snippsat 661 Master Poster
Gribouillis commented: cool link +14