Skip to Content
0

Math.round for rounding in rec experssion question

Dec 02, 2016 at 10:38 AM

39

avatar image

Hi Experts,

I want to round 19,578 to 19,58 , I 've added to my script in the rec expression Math.round but it rounded the value to 20 .

How can I fix the number of decimals to should be rounded ? where should I add the parameter of dicimals numbers?

regards

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vadim Kalinin Dec 02, 2016 at 10:43 AM
0

Please read my blog https://blogs.sap.com/2012/10/08/inline-rounding-in-rec-expression/

*REC(EXPRESSION=Math.round([ACCOUNT].[2020202020607]*100)/100)

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Just updated the blog for better formatting.

1