qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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