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

  1. Program Example66;
  2.  
  3. { Program to demonstrate the Sqrt function. }
  4.  
  5. begin
  6.   Writeln (Sqrt(4):0:3); { Prints 2.000 }
  7.   Writeln (Sqrt(2):0:3); { Prints 1.414 }
  8. end.
  9.