History of Idiom 81 > diff from v31 to v32
Edit summary for version 32 by programming-idioms.org:
New Python implementation by user [Kevogich]
New Python implementation by user [Kevogich]
↷
Version 31
2016-09-18, 15:33:07
Version 32
2016-09-18, 15:33:44
Idiom #81 Round floating point number to integer
Declare integer y and initialize it with the rounded value of floating point number x .
Ties (when the fractional part of x is exactly .5) must be rounded up (to positive infinity).
Idiom #81 Round floating point number to integer
Declare integer y and initialize it with the rounded value of floating point number x .
Ties (when the fractional part of x is exactly .5) must be rounded up (to positive infinity).