-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all
is there a way to enable the user to put , and . to set a number in a decimalbox ?
thanks
Do you want to use both at the same time?
yes fmcypriano
it would be great
@ guisimon
Try the following code:
<doublebox format="##,##0.00" value="12345.67" />
Hi baskaraninfo
it doesn't work
the decimal separator is always the .
After applying the format as mentioned in my previous post, the doublebox contains/displays as shown below:
1,234,567.69
Am using ZK Studio Version: 0.9.5 plugin in eclipse 3.4.2 and zk-bin-3.6.2.
Do you mean instead of 12345.45, you want to set as 12345,45?
hI BASKAR,
i want to add to the user the possibility to set a double amount with a decimal separator wich is . and ,
regards
Only a hint.
On german keyboards the numeric block have a ',' sign in it. For a correct decimal input we need a '.'
So it's more comfortable for a quicker input a user can use the numeric block with the ',' sign
that is internally interpreted/converted as a '.'
So, i'm interesting too in such a solution.
best
Stephan
yes henri it is the request but i don't know if it is possible ?
It is my alltime problem in most GUI (Delphi, Swing and others).
Mostly I need to write my own numeric input box hack for this, and this input box converts to actual accepted format, don't matter what locale currently used.
Similar problem is with date/time imput fields, to accept ISO and locale specific formats. This is the thing must to do in every platform.
Nice to localize everyting, but makes complications with old-school computer users.
Asked: 2009-11-18 10:44:14 +0800
Seen: 1,512 times
Last updated: Jan 12 '17