‎2007 Jun 13 12:00 PM
how can we achieve modulus in ABAP. I mean if we have a -ve number then modulus of -ve is +ve..What is the op for this in ABAP?
for example.
| -2 | = 2
‎2007 Jun 13 12:01 PM
Hi
use
ABS command
b = ABS ( a )
Reward points for useful Answers
Regards
Anji
‎2007 Jun 13 12:01 PM
Hi
use
ABS command
b = ABS ( a )
Reward points for useful Answers
Regards
Anji
‎2007 Jun 13 12:02 PM
Hi,
Use <b>ABS</b> Command.This will give the Absolute value of the argument.
<b>Example :</b>
DATA: T1(10),
T2(10) VALUE '-100'.
T1 = ABS( T2 ).
WRITE T1.
This produces the following output:
100
Regards,
Padmam.