Skip to content

How to round a number down in Python?

>>> import math

>>> math.floor(3.9) # round down
See also  Java code snippet - How to make plugin wait spigot?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.