Truncation Vs. Rounding Definition
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Truncation Vs. Rounding
■ "Truncation" discards the fractional portion of a number, no matter how
large. For example:
5 / 3 = 1.66 (truncated value = 1.0)
See: ◄FIX Function►
■ "Rounding" adds 1 to the integer portion of a number if the fractional
portion is greater than or equal to 1/2 (or .5). For example:
5 / 3 = 1.66 (rounded value = 2.0)
See: ◄CINT Function►