howto remove the thousand separator
pyth0n3r
pyth0n3r at gmail.com
Sun Apr 14 15:33:43 EDT 2013
Hi D'A,
Thanks alot for your reply, it works for me perfectly.
Best,
Chen
On Mon, 15 Apr 2013 02:57:35 +0800
"pyth0n3r" <pyth0n3r at gmail.com> wrote:
> float(). How can i remove the comma in int data? Any reply will be
int(n.replace(',', ''))
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner.
IM: darcy at Vex.Net, VOIP: sip:darcy at Vex.Net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130415/70e59622/attachment.html>
More information about the Python-list
mailing list