Originally posted by

**Jeff Blakeney**View Post*closest*whole-number value -- that is the job of CINT (and its allies). (You just have to be aware of the "special handling" that CINT applies when the fraction = .5. In that case, CINT rounds to the nearest EVEN number, whether that is up or down.)

INT does NOT do the same thing as FIX. Try it on negative numbers and you will see the difference. INT does the exact opposite of CEIL. (I believe that INT is the equivalent of what other languages more descriptively call the Floor function.) INT always rounds down (i.e. towards negative infinity), CEIL always rounds upwards (i.e. towards positive infinity).

INT rounds

*numeric_expression*to the largest integer-class value that is less than or equal to*numeric_expression*.
"Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?"

**not**expect the

**right**answers to come out, but I

**do**expect the machine to behave like a machine, not like a capricious creature with a mind of its own. In other words, it should deal with like situations in a like (and hence predictable) manner.

## Comment