#103=#101-ABS[#102]
Hi all
Please have a look over the Following Example -
For Instance,
If 101 = 3.456
& 102 = -1.234
I commanded
#103 = #101 - #102
will turn into
#103 = 3.456 - ( -1.234 )
A mathematical equation states Minus + Minus Equal to Plus
So, it will be
#103 = 3.456 + 1.234
#103 = 4.69
But according to the Commanded Equation
#103 =3.456-1.234
#103 = 2.222...................(The Intended output which i wanted).
So what should be the programming Pattern to get the intended Output ??
Or
Is there any command which consideres the Negative Sign & will only consider the Value excluding the Sign.
Ash
Thanks