2009 Apr 23 4:02 PM
Hi All,
Data : var1 type zdec. (here zdec is of type decimal with length 5)
var1 = 1,234.
Now i want only two places after decimal. Which means (1,23). How can i do this ? Please suggest if there is any function Module
2009 Apr 23 4:06 PM
data: var1(5) type p decimal 2.
This will solve your problem.
please take F1 help for such issues.
Regards
Suvendu
2009 Apr 23 4:06 PM
data: var1(5) type p decimal 2.
This will solve your problem.
please take F1 help for such issues.
Regards
Suvendu
2009 Apr 23 4:20 PM
2009 Apr 24 6:25 AM
hi john,
data var1(5) type p decimals 2.
bt this a basic question
thanks
shivraj
2015 Aug 25 2:41 PM
Both the solution marked as correct and the one marked as helpful are wrong, and the one that is not marked as correct or helpful is right: It's DECIMALS, not DECIMAL.