I want to make use of the ultranumeric editor to force the user to only be able to enter numerical values. The values the user may enter however can have a variation in decimals for example:
3.265895.2655.6898
What formatting options or settings are available to accomodate this?
Thanks
Actually that isn't right.
I have nnn.nn for my numeric editor and an input mask of _ and default value of 0.
When the screen comes up, if you type a 1 you get 10.00. It seems you have to delete the 0 first.
Is there a way to have it start typeing at the left of the . when working this.
I am going to try an event, but I think it is acting wierd in default mode.
in my application I capture share prices which could vary in length and could go up to 8 decimals. Now I obviously dont want the user to type in all eight decimals..
perhaps "nnnn.nnnnnnnnnn" and let it default to zero.
The user actually wants to display only the decimals that actually applies for example;
3.658 instead if 0003.65800000 or
23.5689 instead of 0023.56890000
I could probably persuade them otherwise.
I am using "n - Digit placeholder. A group of n's can be used to create a numeric section where numbers are entered from right to left. Character must be numeric (0-9) but entry is not required."
Setting a mask input like "nnnn.nnnnnn" makes the control behave like this: when it is entered the cursor is at the left of the decimal point. The digits are entered from right to left. When the limit of digits is hit (the number of the n at the left of the decimal point) or the user pressed the decimal key the cursor moves to the right of the decimal point. Here the digits are entered from left to right.
This I have found to be the natural way of entering real numbers, and the users have no complains.
HTH,
Emanuel