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


Groups > comp.lang.python > #43577 > unrolled thread

Re: howto remove the thousand separator

Started by"D'Arcy J.M. Cain" <darcy@druid.net>
First post2013-04-14 15:17 -0400
Last post2013-04-14 15:17 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: howto remove the thousand separator "D'Arcy J.M. Cain" <darcy@druid.net> - 2013-04-14 15:17 -0400

#43577 — Re: howto remove the thousand separator

From"D'Arcy J.M. Cain" <darcy@druid.net>
Date2013-04-14 15:17 -0400
SubjectRe: howto remove the thousand separator
Message-ID<mailman.598.1365967506.3114.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web