I have a variable defined as zzzz,zzz,zz9.99 I need to convert that to a string in order to write it out to a word document. When I do that I lose the commas and decimal point. How can I format the sting to show the commas and decimal point?
def var wkint as decimal format "zzz,zzz,zzz,zz9.99".
def var wkchar as char format "X(18)".
set wkint.
wkchar = string(wkint,"zzz,zzz,zzz,zz9.99").
output to "test.doc".
put wkchar.
output close.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.