Relative Content

Tag Archive for pythonrounding

Python function for rounding float down to nearest .25

I have a series of floats that I want to round down to the nearest .25 below the float. I need them to always round down. For instance, 1.80 and 1.99 both need to round down to 1.75. I have a simple function to complete true rounding: