Display for decimal type

rpenridge

New Member
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
 

rpenridge

New Member
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).
 
Top