Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

round down py

import math

round(7.6)           # return 8
math.floor(7.6)      # return 7
math.floor(7.699999) # return 7
math.ceil(7.6)       # return 8
 
PREVIOUS NEXT
Tagged: #py
ADD COMMENT
Topic
Name
3+2 =