I was surprised to learn that np.round(item, decimals=0) rounds 14.50 down to 14. I understand this is linked to the number of decimal point but I'm not sure why.
How can I ensure that number like 14.50 is always rounded up 15?
script:
myval = 14.50
np.round(myval, decimals=0)
output:
14.0