Entering numericals via num pad in Germany
Posted: Thu Aug 21, 2008 11:10 am
Hi folks,
first of all a big "thank you" to the developers of HMG and all other involved people !!!
Currently I'm trying to solve a problem associated with a german characteristic:
In Germany numeric values have the decimal separator ',' and not '.' like in most
parts of the world. The german thousands separator is "." and not "," like usual.
Example:
in Germany: 1.234.567,89
in USA: 1,234,567.89
So german keyboard have a ',' on the num pad instead of '.'
I'm now playing around with textboxes and its inputmask parameter: When I
define the appropiate texbox property als numeric, I have to use the international
way of entering values, for example via inputmask "999.00". Germans are not
able to use the ',' of their num pads. :-(
When I define the textbox as a character based one I'm able to define an
inputmask like "999.999,99" but I'll have to eval any of such textboxes and to
convert those strings into numericals... :-(
Is there any solution for this behaviour ? Is it possible to tell HARBOUR to use
the german separators ? 'Set Language To German' doesn't seem to work for
this situation...
Thank you in advance,
Fred...
first of all a big "thank you" to the developers of HMG and all other involved people !!!
Currently I'm trying to solve a problem associated with a german characteristic:
In Germany numeric values have the decimal separator ',' and not '.' like in most
parts of the world. The german thousands separator is "." and not "," like usual.
Example:
in Germany: 1.234.567,89
in USA: 1,234,567.89
So german keyboard have a ',' on the num pad instead of '.'
I'm now playing around with textboxes and its inputmask parameter: When I
define the appropiate texbox property als numeric, I have to use the international
way of entering values, for example via inputmask "999.00". Germans are not
able to use the ',' of their num pads. :-(
When I define the textbox as a character based one I'm able to define an
inputmask like "999.999,99" but I'll have to eval any of such textboxes and to
convert those strings into numericals... :-(
Is there any solution for this behaviour ? Is it possible to tell HARBOUR to use
the german separators ? 'Set Language To German' doesn't seem to work for
this situation...
Thank you in advance,
Fred...