cancel
Showing results for 
Search instead for 
Did you mean: 

decimal value in table cell

mohankumar_d
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mohan

Please check out this thread

Former Member
0 Kudos

Hi Mohan,

Please confirm what is the type of context attribute where you are storing the decimal?

It should not be Integer. It can be double, float or decimal based on your requirement.

Regards,

kartikaye

mohankumar_d
Explorer
0 Kudos

Hi,

The node is an empty node, which is getting filled dynamically as returned by the Back end function module.

The problem is the table is not getting the value properly.

Regards,

Mohan