Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

round down a number python

#math.floor(number)

import math
print(math.floor(3.319))  #Prints 3
print(math.floor(7.9998)) #Prints 7
 
PREVIOUS NEXT
Tagged: #number #python
ADD COMMENT
Topic
Name
8+1 =