Skip to Content
Former Member
Oct 13, 2006 at 04:33 AM

converting currency fields into strings without separators


Hi all,

Currently i'm using the write statement to do the conversions.

data : amt(30).

write bseg-dmbtr into amt currency 'USD'.

However the output is in "123,456.00" format.

I need the output in "123456.00" without the commas.

Other than doing a "REPLACE" command for the commas in the amt string, is there a better way of getting the desired currency output without commas?