Skip to Content
0
Former Member
Dec 05, 2008 at 08:16 PM

fraction part gets stripped off in bigdecimaldata type

19 Views

Hi All,

when i am getting a bigdecimal data type from backend,its stripping the fraction part if it contains zero at the fraction part while displaying in table.

For example

if the value is 22.30 its displaying 22.3 and if value is 22.00 its displaying 22 , so how to display the whole value like 22.00.if value is 22.33 its diplaying 22.33 .

(the data is coming good from rfc like 22.30). How to to display the dicimal places correctly.

Thanks.