PW-567 add the old canvas formula
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
from decimal import Decimal, ROUND_HALF_UP
|
||||
|
||||
|
||||
def round_half_up(val):
|
||||
return int(Decimal(val).quantize(0, ROUND_HALF_UP))
|
||||
Reference in New Issue
Block a user