home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex34.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  175 b   |  9 lines

  1. Program Example34;
  2.  
  3. { Program to demonstrate the Int function. }
  4.  
  5. begin
  6.   Writeln (Int(123.456):0:1);  { Prints  123.0 }
  7.   Writeln (Int(-123.456):0:1); { Prints -123.0 }
  8. end.
  9.