Answers for "round off to next value python"

1

how to round to the nearest 25 python

def myround(x, base=5):
    return base * round(x/base)
Posted by: Guest on July-27-2020
2

how to round a number in python

round(n, ndigits) # round(1.123456789,5) --> 1.12346
Posted by: Guest on December-03-2020

Code answers related to "round off to next value python"

Python Answers by Framework

Browse Popular Code Answers by Language