howto remove the thousand separator

D'Arcy J.M. Cain darcy at druid.net
Sun Apr 14 15:17:49 EDT 2013


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



More information about the Python-list mailing list