I want to round off some values for my numerical calculations in views like-------
5.5 to 5 OR 549 t0 500 and 599 - 600 (the nearest one)
So I want to use round off OR floor function in django as we used in other languages. Is there any functions related to this in django then please suggest me some functions and also the libraries which i have to import to use these functions.
Thanks.