I am outputing a BigDecimal using EL expression as follows: #{beanActions.overallScore}.
But when the value is 100, then it appears as 1.0E+2.
How can I display it as 100 without changing the type to String?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following works in my environment (Mojarra 2.1.3 with EL 2.2):