Answers for "float()python round off"

21

how to round a float in python

round(number, ndigits)
Posted by: Guest on April-12-2020
1

round off python

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

Python Answers by Framework

Browse Popular Code Answers by Language