πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8468

Re: Decimal symbol

#8468
From: icsd.jt
Date: Thu, 22 Mar 2001 08:42
41 lines
2359 bytes
Thank you Torsten but, 2 puncts :
- who must I put your instruction java.text.... :
   for each field or once in the principal class.
- I think - it's perhaps a bug in JB4 (hum.. I think really no)
             - I forget anything, a parameter
Why, do you say :
I have read many time in java doc and JB4 doc : if you
less the display and/or editmask for a number field or
a date field (and with JB4 is clearly say) java process
this field with the local format of your machine.
My local (config panel regional parameters) are french
definited with european date and number with . as
decimal symbol. (ie, with Excel it's work correct
column 123.45 is a number 123,45 is a string
and the date are dd/mm/yyyy) but my applications
with JB4 recognise only , as decimal symbol with or
without edit/displaymask but the date are correctly
process only if I put an european mask.
Have you an idea ?
Excuse my english Thank, Jacques

"Torsten Welches" <torsten.welches@who.cares.netcologne.de> a οΏ½crit dans le
message news: 3ab9aa29$1_2@dnews...
>
> Jacques,
>
> for display purposes you can format your currency numbers with
> java.text.NumberFormat.getCurrencyInstance(Locale.FRANCE)
>
> Torsten
>
> <icsd.jt@wanadoo.fr> wrote:
> >I am french and I have post my local to the punct (.) as
> >symbol decimal.
> >JB4 and IB6 does not recognise it and work only with
> >the comma (,)
> >How it is possible to work with . and not with ,
> >Thank for help , Jacques
> >
> >
>
Technical Details
Message-ID: <3ab9badb_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!193.252.62.207
References: <3ab8c07a$1_2@dnews> <3ab9aa29$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,c96af9e86242b92d
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-23 04:10:08 PST
Reply-To: <icsd.jt@wanadoo.fr>
From: <icsd.jt@wanadoo.fr>
Newsgroups: borland.public.jbuilder.java.language
References:  <3ab8c07a$1_2@dnews>  <3ab9aa29$1_2@dnews>
Subject: Re: Decimal symbol
Date: Thu, 22 Mar 2001 09:42:21 +0100
Lines: 43
Organization: ICSD - JaC
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: 193.252.62.207
Message-ID: <3ab9badb_2@dnews>
X-Trace: 22 Mar 2001 00:42:03 -0800, 193.252.62.207
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!193.252.62.207