Apr-06-2017, 12:12 PM
import math maxValue = 12345678 a = maxValue/4.0 # Python 2.x requires either numerator/denominator to be a float to return one print "This is the value of a", a print "This is the ceiling of the division", math.ceil(a) This is the value of a 3086419.5 This is the ceiling of the division 3086420.0How can I amend the degree to which the value is rounded up?
Is it possible to round up to say 3090000.0?