qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Frac Function
  Summary Details Example                                   Back
 
  Argument
 
    number         Real expression
 
  Returns
 
    <real type>    Number without its integer part
 
  Description
 
    The Frac function takes a real value and returns the fractional
    part of the number, discarding any whole number part. The
    fractional part lies to the right of the decimal.
 
    The Int function returns the part of the number omitted from the
    return value of Frac. The following two lines are equivalent:
 
       result := Frac( number );
    or
       result := number - Int( number );