πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Decimal symbol

#8464
From: icsd.jt
Date: Fri, 23 Mar 2001 10:26
51 lines
2973 bytes
Torsten
I try to explain clear my preoccupation :
My appli work with field numeric which are decimal :
IE quantity and price per unit ( in fact in my appli two
BigDecimal fields )
If the quantity is 0,5 and the price 2,32 francs the user
must type 0 (numeirc pad) comma (keyboard alpha)
5 (numeric pad) return 2 (numeric pad) comma ....
And want just the punct is recognize as the decimal
symbol and not the comma.
I have test my locale : it's fr_FR
Apparently just the "global" local is recognize (azerty or
qwerty perhaps) but not the decimal symbol which is
set to . : (in Excel it's ok with . )
It this explanation more clear ?
Thank , Jacques

"Torsten Welches" <torsten.welches@who.cares.netcologne.de> a οΏ½crit dans le
message news: 3abb11c3$1_1@dnews...
>
> Jacques,
>
> I didn't understand that you were refering to numbers in
> JBuilder's IDE itself rather then your own programs. (are you?)
> I don't know (but doubt) if it is possible to change the IDE
> formats.
>
> Torsten
>
> <icsd.jt@wanadoo.fr> wrote:
> >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
>
Technical Details
Message-ID: <3abb24d2_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!193.252.62.199
References: <3ab8c07a$1_2@dnews> <3ab9aa29$1_2@dnews> <3ab9badb_2@dnews> <3abb11c3$1_1@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:08:52 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>  <3ab9badb_2@dnews>  <3abb11c3$1_1@dnews>
Subject: Re: Decimal symbol
Date: Fri, 23 Mar 2001 11:26:48 +0100
Lines: 53
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.199
Message-ID: <3abb24d2_2@dnews>
X-Trace: 23 Mar 2001 02:26:26 -0800, 193.252.62.199
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!193.252.62.199