Python: How to round 123 to 100 instead of 100.0?

Posted by user329529 on Stack Overflow See other posts from Stack Overflow or by user329529
Published on 2010-04-30T06:50:49Z Indexed on 2010/04/30 6:57 UTC
Read the original article Hit count: 280

Filed under:
|

round(123,-2) 100.0

How to round it to 100 instead of 100.0?

© Stack Overflow or respective owner

Related posts about python

Related posts about round