G
Guest
Hi,
I am currently playing with Epos systems.
Most things I have handled with no problem but one bit I am finding
difficult to work out. this is the keypad for entering tendered amounts. ok
here's an explination.
I have a grid of 11 keys each numbered from 0 to 9 with a key for 00
I also have a text box named tendered_amount, now when I press a number I
want the tendered_amount box to fill from the right and to build uo the
amount. Ok, I have this happening where I have the problem is the decimal
place all the ways I have tried have displayed everything I enter in front of
the decimal place. It would be nice is the display also kept the leading
zeros also (I will never have a tendered amount bigger than 999.99.
If anyone could point me to something that I can look at to see how it was
done I would be greatfull.
Keep on Coding
Mike J. Soames
I am currently playing with Epos systems.
Most things I have handled with no problem but one bit I am finding
difficult to work out. this is the keypad for entering tendered amounts. ok
here's an explination.
I have a grid of 11 keys each numbered from 0 to 9 with a key for 00
I also have a text box named tendered_amount, now when I press a number I
want the tendered_amount box to fill from the right and to build uo the
amount. Ok, I have this happening where I have the problem is the decimal
place all the ways I have tried have displayed everything I enter in front of
the decimal place. It would be nice is the display also kept the leading
zeros also (I will never have a tendered amount bigger than 999.99.
If anyone could point me to something that I can look at to see how it was
done I would be greatfull.
Keep on Coding
Mike J. Soames