🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #808

Decimal point representation

#808
From: PB
Date: Sat, 18 May 2002 21:03
7 lines
1251 bytes
I have an application which processes floating point data
which runs fine under a US/UK installation of Windows (any)
but when run under a European installation where the decimal
separator is a comma rather than a dot I get a "x.xx is not a
valid floating point number" message.  The registry entry for
the decimal separator is sDecimal, but efforts to temporarily change this from a comma to a dot (while I do my processing) on the fly fail miserably.  Any ideas? 
Technical Details
Message-ID: <3ce6c193$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news-xfer.siscom.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10297d,6fd98b98999b57f8,start
X-Google-Attributes: gid10297d,public
X-Google-ArrivalTime: 2002-05-18 14:03:46 PST
From: "PB" <pat_boyle@hotmail.com>
Sender: "PB" <pat_boyle@hotmail.com>
Reply-To: "PB" <pat_boyle@hotmail.com>
Subject: Decimal point representation
Newsgroups: borland.public.cppbuilder.internationalization
X-User-Info: 213.104.128.46 213.104.128.46    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ce6c193$1_1@dnews>
Date: 18 May 2002 14:03:15 -0700
X-Trace: dnews 1021755795 207.105.83.65 (18 May 2002 14:03:15 -0700)
Lines: 7
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news-xfer.siscom.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews