Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to round a number down in 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
3+9 =