Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Formatting a number text field with a maximum length

Vino SarathyMar 27 2013 — edited Mar 28 2013
Hi

I am using JDeveloper 11.1.1.5.0 for Development.

I have an input text which is a number field. I have set the maximum length as 10 including a decimal (eg., 2124334.24). For display, in jspx, by default, the field displays "$" symbol.

In the input text, user deletes the $ symbol and enters a number like 3323433.32 for length 10. Thus values get saved in database and retrieves as such to display as $3323433.32.

But if i try to edit the value, the last digit of the value disappears to show $3323433.3 only.

what can be done so that the last digit will not get disappear even when i try to edit? should I go for javascript ?


- Vinoth
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2013
Added on Mar 27 2013
3 comments
436 views