Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Int function used on a whole number (integer) yield integer-1

$
0
0

I am using INT() as part of a table wherein values are multiplied and divided, then the INT() function is used to display only the whole number value as the result is an average events and cannot be less than whole.

This has probably happened multiple times but I noticed this time as the math was simple & should have yielded an integer of 100. Instead it displayed 99.  Removing the INT() portion of the calculation displayed the correct 100 result. Using INT() in the next cell over brought that value back to 99.

Trying INT(100/5) yields 4. What is going on here?

PS - is this due to rounding error I read about elsewhere?


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>