R rpenridge New Member Aug 17, 2001 #1 Hi All, I can't figure out the correct format to get my decimals to display the way I want them to... any ideas? value display 999.00 999 999.50 999.5 999.55 999.55 Thanks Rob
Hi All, I can't figure out the correct format to get my decimals to display the way I want them to... any ideas? value display 999.00 999 999.50 999.5 999.55 999.55 Thanks Rob
R rpenridge New Member Aug 17, 2001 #3 It's been a _very_ long day... what am I doing wrong with the following code?: def temp-table tt field f as decimal format "zzzz9.99" field g as decimal. create tt. assign f = 999.00 g = 1. for each tt break by g: accumulate f (sub-total by g). end. display (accum sub-total by g f).
It's been a _very_ long day... what am I doing wrong with the following code?: def temp-table tt field f as decimal format "zzzz9.99" field g as decimal. create tt. assign f = 999.00 g = 1. for each tt break by g: accumulate f (sub-total by g). end. display (accum sub-total by g f).