‎2006 Aug 30 10:14 AM
Hi
i loof for Fm that insert comma
for eaxmple
1000000 will be --> 1,000,000
thanks
‎2006 Aug 30 10:16 AM
Hi yossi,
1. If u want value with comma,
in some variable,
then just use WRITE.
2. like this.
3. write number into myvariable.
(this will output the number
into the character variable myvarabile,
with comma formatting)
regards,
amit m.
‎2006 Aug 30 10:16 AM
Hi yossi,
1. If u want value with comma,
in some variable,
then just use WRITE.
2. like this.
3. write number into myvariable.
(this will output the number
into the character variable myvarabile,
with comma formatting)
regards,
amit m.
‎2006 Aug 30 10:21 AM
data:ur_var(7) value '1000000'.
data: var(7) type p.
var = ur_var.
write: var.
‎2006 Aug 30 10:21 AM
U can surely use different variations in WRITE statement to do the necessary.
like
WRITE lnum USING EDIT MASK 'RR_,___,___'.
or
WRITE lnum CURRENCY 'INR' DECIMALS 0.
regards
Anurag
‎2006 Aug 30 10:23 AM
‎2006 Aug 30 10:27 AM
try this....
REPORT YCHATEST.
DATA : CHAR(15) VALUE '1000000',
NUM TYPE P DECIMALS 0.
NUM = CHAR.
WRITE : NUM.