πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Decimal symbol

#8481
From: icsd.jt
Date: Sat, 24 Mar 2001 07:28
55 lines
3064 bytes
Torsten
I have answer yesterday but do not see this answer
Excuse me . I re-send this mail
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: <3abc4c66_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!193.252.62.76
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-24 01:56:05 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: Sat, 24 Mar 2001 08:28:01 +0100
Lines: 57
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.76
Message-ID: <3abc4c66_2@dnews>
X-Trace: 23 Mar 2001 23:27:34 -0800, 193.252.62.76
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!zeus.visi.com!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!193.252.62.76