Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43671

Re: Re: howto remove the thousand separator

Date 2013-04-15 03:33 +0800
From "pyth0n3r" <pyth0n3r@gmail.com>
References <20130414151749.29608713@imp>
Subject Re: Re: howto remove the thousand separator
Newsgroups comp.lang.python
Message-ID <mailman.664.1366124911.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@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@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@Vex.Net, VOIP: sip:darcy@Vex.Net

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Re: howto remove the thousand separator "pyth0n3r" <pyth0n3r@gmail.com> - 2013-04-15 03:33 +0800

csiph-web