Difference between revisions of "Frac"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "{{Trunc}} Function '''Frac''' return real-type value to an Integer-type value. X is a real-type expression. Trunc returns a Longint value that is the value o...")
 
Line 1: Line 1:
 
{{Trunc}}
 
{{Trunc}}
  
Function '''Frac''' return [[Real|real]]-type value to an [[Integer]]-type value.
+
Function '''Frac''' return mantissa part of the argument X.  
X is a real-type expression. Trunc returns a [[Longint]] value that is the value of X rounded toward zero.
+
X is a real-type expression.  
  
 
Declaration
 
Declaration
 +
 
<syntaxhighlight>
 
<syntaxhighlight>
 
  function Frac(X: Real): Real;
 
  function Frac(X: Real): Real;

Revision as of 16:05, 17 August 2019

English (en)

Function Frac return mantissa part of the argument X. X is a real-type expression.

Declaration

 function Frac(X: Real): Real;

See also: