Skip to Content
0
Former Member
Feb 22, 2009 at 11:37 AM

decimal point shifting in subtotal display

85 Views

hello all,

I have a smartform where I am calculating the subtotal of the field using calculations tab in the table. With variable v _subtotal.

My problem is that, at the output it displays incorrect subtotal i.e. it shifts the decimal point to 1 place right. For example it gives output as 1230.0 instead of the desired output which is 123.00.

Also I am passing the same variable(v_subtotal) to the FM spell_amount and the out put of the FM is displayed correctly. For example in above case the output is ONE HUNDRED TWENTY THREE .

Please can anyone suggest me wat may be the reason for it and how can a solve it.

regards

Prakash