How do I display a double in an af:inputText rounded down to an integer?


How do I display a double in an af:inputText rounded down to an integer?



I have an af:inputText which displays a double value. For example: 17555.8


af:inputText


<af:inputText value="#{bindings.regnum.inputValue}"
disabled="true"
simple="true" id="it4"/>



I want to view this data as an integer: 17555. How can I achieve that?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

How to make file upload 'Required' in Contact Form 7?

Rothschild family

amazon EC2 - How to make wp-config.php to writable?