In many countries the decimal separator is ',' But the numeric keypad of computers provides only the '.' as decimal separator.
When typing decimal numbers you have to use the ',' far on the keyboard.
It's not efficient and is prone to errors if the user doesn't check the resulting number.
Desktop software like libreoffice and m$excel allows to use the '.' of the numeric keypad and transforms it in a ','.
Regards,
Carlos Ruiz
According to the problems reported - it seems the approach here has problems specifically in Windows with keyboards that return "," in the numeric keyboard.
Solved - tested 20 combinations
linux chrome, firefox, chromium
windows chrome, firefox
keyboard returning comma
keyboard returning dot
language with comma separator
language with dot separator
reopening ticket:
not working with French:
https://groups.google.com/d/msg/idempiere/4ryfOcGRvvc/rH7QGry9CAAJ
And it seems like java 11 changed the behavior of the decimal point for idempiere on French language - before it was , and now is .
tested today with french language:
version 6.1 running with java 10 - works fine
version 6.1 running with java 11 - works fine
version 6.2 running with java 11 - problem
made a test downgrading the zk to 8.5.0 in the version 6.2 (attaching patch
)
it works fine
So, definitely this discards a problem with the java 11 version and confirms is a problem with zk 8.6.0.1
Regards,
Carlos Ruiz
Solution found
https://tracker.zkoss.org/browse/ZK-4198
Thinking about the best way to implement it here.