struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paweł Wielgus <poulw...@gmail.com>
Subject Re: display Bigdecimal with 3 number after the ,
Date Thu, 02 Apr 2009 13:42:23 GMT
Hi Elyes,
try myBigDecimalValue.setScale(3) or something like that.

Best greetings,
Paweł Wielgus.




2009/4/2 elyes sallem <elyes.sallem@gmail.com>:
> yes i viewed , this is  for struts 2 but i work with struts 1.2
>
> Regards
> Elyes
>
>
> 2009/4/2 Lukasz Lenart <lukasz.lenart@googlemail.com>
>
>> 2009/4/2 elyes sallem <elyes.sallem@gmail.com>:
>> > Hello,
>> > i work with struts 1.2 and i wanna display in the jsp page Bigdecimal
>> number
>> > with 3 number after the comma
>> > any one know how can i do that?
>> > by default, it is displayed 1 comma after the comma
>>
>> Did you read documentation [1] about that?
>>
>> [1] http://struts.apache.org/2.1.6/docs/formatting-dates-and-numbers.html
>>
>>
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
>
> --
> Elyes.
>

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


Mime
View raw message