HI,
I am facing one problem while conversion.
At run time I am getting one field name is vbdkr-ntgew and the value of this field is 1143.541
I want to convert the above value into rounded value with out decimals in all user settings format.
I mean if it is 1143.541 then it should be 1144
If it is 1143.078 then it should be 1143.
For the above case I am using the logic
gv_a = CEIL( vbdpr-ntgew ).
In above the gv_a variable is of type I ( I have used type n and c also).
But this is not working I mean after the above statement the gv_a is showing 1143541 instead of 1144.
And one more thing this is almost similar to above
I have a variable vbdpr-fkimg and the value of this field is 1.000
Now I need to convert next rounded value with one decimal.
I mean to 1.0
For this I am using following logic.
Gv_b = ceil ( vbdpr-fkimg).
In above gv_b is of type p decimal 1.
Now after execution of above statement the gv_b is populating with 100.0 but I am expecting 1.0
Suppose the value is 1143.789 then I want 1144.0
Please tell me the logic with out using SPLIT command
If helpful I will give the points.
Thanks a lot in advance.