aproximate a number

billiejoex billiejoex at fastwebnet.it
Sun Aug 28 17:11:09 EDT 2005


Hi all. I'd need to aproximate a given float number into the next (int) 
bigger one. Because of my bad english I try to explain it with some example:

5.7 --> 6
52.987 --> 53
3.34 --> 4
2.1 --> 3

Regards 





More information about the Python-list mailing list