home *** CD-ROM | disk | FTP | other *** search
/ PC Open 13 / pcopen13.iso / Zip / SM34A.ZIP / LIBRARY / INT.LI < prev    next >
Encoding:
Text File  |  1995-03-23  |  138 b   |  6 lines

  1. # int(x) gives the integer part of number x. int(x)=trunc(x).
  2. # See also: frac, trunc.
  3. # e.g. int(2.3) gives 2.
  4.  
  5. int(x_) := trunc(x)
  6.