This is an el-impl-1.0.jar related issue. This jar appears as the latest version around - however if I replace ELSupport.java from latest Glassfish distribution - then the BigDecimal problem disappears. It seems that Glassfish installation does not generate this jar, so that I cannot figure out where it comes from.
The only thing known for sure is that el-impl comes from Glassfish, while el-api comes from Tomcat 6.

-- Renzo

Renzo Tomaselli wrote:
Hi, while using tr:inputText where the "value" attribute refers to a bean method pair handling get/set of a BigDecimal, I noticed that the returned number has a large scale and undefined precision, e.g. there is a rounding problem.
The number 1.234567 (precision 7, scale 6) is displayed properly, but then it's returned to the bean as 1.2345669999999999699724639867781661450862884521484375 (precision 0, scale 52).
No converter was used.
Any suggestion or workaround ?
Thanks -- Renzo

Reply via email to