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!

Numver format for readonly setted af:inputText

829784Jul 13 2011 — edited Jul 13 2011
Hello All,

<af:inputText id="itTtlDue" readOnly="true" value="#{bindings.return.inputValue}"
required="#{bindings.return.hints.mandatory}"
columns="#{bindings.return.hints.displayWidth}"
maximumLength="#{bindings.return.hints.precision}">

How can I set display format for above tag?

Note:
When I execute above tag with a numerical value as "25.333333333336" , then it display as 25.333333333336.
So it correct..!

But how can I display it with formated output as #######.## (So result should be 25.33)

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2011
Added on Jul 13 2011
5 comments
184 views