Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> frac return fractional part of number pp 140</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FRAC                  Return Fractional Part of Number               pp 140

 Syntax:  Frac (NumVar) ;

 Type:    Real

 Form:    Function

 Purpose: Return fractional part of integer or real number as type Real.

 ----------------------------------------------------------------------------


 Usage:
       VAR
          NumVar : Real           ;
          Result : Real           ;

       BEGIN
          Result := Frac (NumVar) ;
       END.

See Also: Int Round Trunc

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson