2007 Nov 16 1:41 PM
Hi
I have a field KONV-KWERT , i am doing some calculation using this field, during the calculation i need negative value also for this field, how to make that?
for example Konv-kwert contains 78.3. Now i need 78.3-. How to make this, If i concatenate minus with this value after i cannt calculate anything, so by programatically how to do this?
Any one please help.
Mohana.
2007 Nov 16 4:03 PM
Hi
I have a field KONV-KWERT , i am doing some calculation using this field, during the calculation i need negative value also for this field, how to make that?
for example Konv-kwert contains 78.3. Now i need 78.3-. How to make this, If i concatenate minus with this value after i cannt calculate anything, so by programatically how to do this?
Any one please help.
Mohana.
2007 Nov 16 1:44 PM
2007 Nov 16 1:44 PM
Mohana,
Try this..
<b>KNOV-KWERT = -1 * KNOV-KWERT.</b>
Chandra.
2007 Nov 16 1:45 PM
Mohana,
Just declare another variable , say i.
then i = konv-kwert * -1.
Regards
Aneesh.
2007 Nov 16 1:45 PM
Just do the following:
KONV-KWERT = KONV-KWERT * -1.
This will invert the positive value into a negative one and vice versa.
Regards,
Michael
2007 Nov 16 1:48 PM
Also Do Like this..
Just By Subtracting 0..
<b>KONV-KWERT = 0 - KONV-KWERT.</b>
Message was edited by:
Vishnu Reddy
2007 Nov 16 2:01 PM
2007 Nov 16 4:03 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |