Article View: borland.public.jbuilder.java.api
Article #2153Re: Simple questin about seperators
From: Erwin Olaerts
Date: Thu, 03 May 2001 08:58
Date: Thu, 03 May 2001 08:58
19 lines
1763 bytes
1763 bytes
Maybe the problem is that we use ItemFormatter to format our text. To create
an ItemFormatter we use VariantFormatStr("###,##0.####",Variant.DOUBLE,new
Locale("nl","BE"));
We don't use DecimalFormat ... Is this the problem ???
"Tor Iver Wilhelmsen" <tor.wilhelmsen@sds.no> schreef in bericht
news:uvgnizxcd.fsf@sds.no...
> "Erwin Olaerts" <erwin.olaerts@idp.be> writes:
>
> > Our pattern is "#,##0.##", but no matter how my locale is, it always
stays
> > this way and I want it in "#.##0,##" ...
>
> No, no, the _pattern_ should remain with the , and . placed as they
> are.
>
> There may be a bug on some releases where some feature in Windows will
> override Locale - but do try to make a Locale-object and use the
> DecimalFormat constructor which takes a Locale argument first.
Technical Details
Message-ID:
<3af11dc3$1_1@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3aefaccb_2@dnews> <uae4wroo0.fsf@sds.no> <3af0006a$1_1@dnews> <ug0enzy6c.fsf@sds.no> <3af01214_1@dnews> <uvgnizxcd.fsf@sds.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,24f4f92ec12c919f X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-05-03 02:09:55 PST From: "Erwin Olaerts" <erwin.olaerts@idp.be> Newsgroups: borland.public.jbuilder.java.api References: <3aefaccb_2@dnews> <uae4wroo0.fsf@sds.no> <3af0006a$1_1@dnews> <ug0enzy6c.fsf@sds.no> <3af01214_1@dnews> <uvgnizxcd.fsf@sds.no> Subject: Re: Simple questin about seperators Date: Thu, 3 May 2001 10:58:26 +0200 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 212.123.9.31 Message-ID: <3af11dc3$1_1@dnews> X-Trace: dnews 988880323 212.123.9.31 (3 May 2001 01:58:43 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews