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

Rothschild family

Cinema of Italy