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


Groups > comp.lang.python > #43574

howto remove the thousand separator

Date 2013-04-15 02:57 +0800
From "pyth0n3r" <pyth0n3r@gmail.com>
Subject howto remove the thousand separator
Newsgroups comp.lang.python
Message-ID <mailman.595.1365965868.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

Hi,
I came across a problem that when i deal with int data with ',' as thousand separator, such as 12,916, i can not change it into int() or float().
How can i remove the comma in int data?
Any reply will be appreciated!!

Best,
Chen

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


Thread

howto remove the thousand separator "pyth0n3r" <pyth0n3r@gmail.com> - 2013-04-15 02:57 +0800
  Re: howto remove the thousand separator Duncan Booth <duncan.booth@invalid.invalid> - 2013-04-19 15:04 +0000

csiph-web