Technical Notes Database TN613D.txt TRUNC - CONVERTING REAL NUMBERS INTO INTEGERS Category :Pascal Platform :All Product :Turbo Pascal 4.0+ Description: Q. How do you convert real numbers into integers? A. Use the Round or Trunc function and assign the result to an integer: var i : integer; begin i := round(12.43); i := trunc(22.22); end. Reference: 7/16/98 4:35:34 PM
Last Modified: 01-SEP-99