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!

af:convertNumber currency format over 15 digits

TechfunduAug 29 2015 — edited Aug 30 2015

I'm using JDev 11.1.1.7  and I have a page which has a big decimal field bound to the ADFbc component. In the UI, i would like to show the field formatted as currency and I have used the below to achieve the same:

<af:convertNumber currencyCode="$" type="currency"

                                  integerOnly="true" maxIntegerDigits="20"

                                  minIntegerDigits="1" minFractionDigits="0"

                                  maxFractionDigits="0"/>

The numbers are getting formatted up to 15 digits and when I enter the 16th digit, the formatting actually stops. Example:-

15 digits appear as: $123,456,789,012,345

16 digits appear as: 1234567890123456


I tried changing the field type to various combinations like Number,Double... but the problem remains for all the data types.


Is it a bug or I missing something here ?



Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2015
Added on Aug 29 2015
8 comments
1,233 views