This looks like the result of toString() of BigDecimal.

May be you can try this:

http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigDecimal.html#toPlainString%28%29



2010/12/6 Yanto Bong <yantob...@gmail.com>:
> Hi All,
>
> We've using BigDecimal as datatype in hibernate and model for Numeric (20,8)
> datatype in database.
> however when we display it in JSP using struts 2, if the value <> 0 then it
> will display correctly.
> However if the value is 0.00000000 in database, then it will display in JSP
> it will shown as *0E-8.00000000*
>
> anyone have this issue before ?
>
> Thanks & Regards
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to