Skip to Content
0
May 21, 2009 at 02:31 PM

decimal value in table cell

18 Views

Hello Colleagues,

I am storing the values (decimal) retrived from the Backend into a context node. And creating the table element dynamically using the node.

The values in the table are having dropped zeros for the decimal numbers.

Say for example, if the Back End returns 150.50, the table is having the value 150.5.

Similalry if the value is 10.00, the table is having the value 10.

Similalry if the value is 0.00, the table is having the value 0.

Can you please suggest me how to get the exact value returned from the Back End to the table.

Regards,

Mohan