Article View: borland.public.cppbuilder.internationalization
Article #16Decimal number formatting according to locale
From: iltit119
Date: Wed, 10 Jan 2007 09:12
Date: Wed, 10 Jan 2007 09:12
9 lines
1129 bytes
1129 bytes
Trying to use IntToStr() to convert an integer into an AnsiString. Although the ThousandSeparator is set to',' the generated string does not contain it. For example, the number 44444 is converted to: "44444" while we wish it to be converted to: "44,444". What am I doing wrong? Should another function be used? Thanks, Ronit.
Technical Details
Message-ID:
<45a4ae2e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10297d,168e682ffe9ad72a,start X-Google-Attributes: gid10297d,public X-Google-Language: ENGLISH,ASCII-7-bit From: <iltit119@attglobal.net> Newsgroups: borland.public.cppbuilder.internationalization Subject: Decimal number formatting according to locale Date: Wed, 10 Jan 2007 11:12:17 +0200 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 193.17.42.1 Message-ID: <45a4ae2e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168420398 193.17.42.1 (10 Jan 2007 01:13:18 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail