Total round off

How to round off Total in purchase order, Below total should be rounded to 4397.00

Go to Setup -> Global Settings -> Uncheck Disable Rounded Total
This will automatically round off the total.

http://hostname/desk#Form/Global%20Defaults

i have unchecked… still persisting same problem…

Do

bench update

and check it. If you’re running older version that might some issues.

1 Like

thanks @rk_root for revert. i am running newer versions only.

Go to your currency (INR) in Currency and check to see if the rounding number there is what you actually want it be. For some months the default USD rounding was $0.05 and it was driving me crazy and I wasn’t sure where to find it, but I believe it has since been fixed.

1 Like

Try
Math.floor(total);

thanks for the response will check out

Hi @shahid ,
Any guideline to put that code ? in print format or system file ?

@harrisonle
Put that code in Custom Script.