2014 Feb 06 3:57 PM
Hi All,
Is there any function module to write off amount 0.1 to 0.4.
Thanks
Hi All,
Is there any function module to write off amount 0.1 to 0.4.
Thanks
2014 Feb 06 5:10 PM
Hi Abhishek,
Why do you need FM for this. Its simple mathematical operation.
Write small code.
IF fact(var) < 0.5.
* Round off value (you can use Ceil or Floor functions)
else.
* rest opearations.
ENDF
2014 Feb 06 5:33 PM
Hello,
Use CEIL statement as below:
DATA: V_INPUT TYPE NETPR VALUE '0.1'.
DATA: V_OUTPUT TYPE I.
v_ouput = CEIL( v_input ).
write: / v_output.
Raghav
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |