Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python ceiling division

import math
a = 16
b = 6
c = math.ceil(a/b) # assert c equals 3
 
PREVIOUS NEXT
Tagged: #python #ceiling #division
ADD COMMENT
Topic
Name
8+1 =