Hello All,
Progress Version: 10.2B
How to store 123456789.12345678901 decimal value to the decimal field?
define variable l_dec like xx_dec format "999999999.99999999999" no-undo.
l_dec = 123456789.12345678901.
for each xx_mstr exclusive-lock:
xx_dec = l_dec.
end.
Thanks in advance.
Hi,
Try this example,
DEFINE VARIABLE l_name AS CHARACTER format "x(30)" NO-UNDO.
l_name = "aaaaaa bcd efg".
l_name = replace(l_name,"efg","abc") .
DISPLAY l_name.
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.