Round number to closer up ten / hundred .. value
## NUMBER CLOSER THAN TEN
def roundup(x):
import math
return int(math.ceil(x / 10.0)) * 10
## NUMBER CLOSER THAN HUNDRED
def roundup(x):
import math
return int(math.ceil(x / 100.0)) * 100