2009 May 07 12:40 PM
hi all,
I am trying to get remainder at devision time, but i can only get the devidand.
Any one know any function or method for getting remainder.
For Eg.
X = 6 / 2.
then remainder is 0.
X = 7 / 2.
then remainder is 1.
i can get the answer 3 and 3.5 symontenously.
Please help me if any one know any option,
Thank You,
Jahnavee Trivedi
2009 May 07 12:48 PM
DATA a(2) TYPE n.
a = 17 MOD 3.
WRITE a.
2009 May 07 12:44 PM
2009 May 07 12:46 PM
2009 May 07 12:48 PM
2009 May 07 12:48 PM
Hi,
do you search in SDN before you post this question????
Regards, Dieter
2009 May 07 12:56 PM
I dont think he/she did...but I am the first one to answer...yahoooo!
Edited by: BrightSide on May 7, 2009 12:56 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |