Article View: borland.public.cppbuilder.internationalization
Article #896How do I read non US values?
From: Dennis Vogel
Date: Sat, 15 Dec 2001 22:41
Date: Sat, 15 Dec 2001 22:41
8 lines
1131 bytes
1131 bytes
My program works fine in the US but other countries use a comma instead of a period as a hundreds separator. So .45 becomes ,45 I don't get the proper value with atof. What do I use to always get a value? Thanks, Dennis
Technical Details
Message-ID:
<3c1bd1a6_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10297d,2ab5ab8c16bc9c46,start X-Google-Attributes: gid10297d,public X-Google-ArrivalTime: 2001-12-15 14:43:44 PST From: "Dennis Vogel" <dvogel@sprynet.com> Newsgroups: borland.public.cppbuilder.internationalization Subject: How do I read non US values? Date: Sat, 15 Dec 2001 16:41:47 -0600 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 165.121.229.248 Message-ID: <3c1bd1a6_1@dnews> X-Trace: dnews 1008456102 165.121.229.248 (15 Dec 2001 14:41:42 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews