Difference between revisions of "Frac"

From Lazarus wiki
Jump to navigationJump to search
(Adjusted description to match official fpc docs.)
m (Fixed syntax highlighting)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
Declaration
 
Declaration
  
<syntaxhighlight>
+
<syntaxhighlight lang=pascal>
 
  function Frac(X: ValReal): ValReal;
 
  function Frac(X: ValReal): ValReal;
 
</syntaxhighlight>
 
</syntaxhighlight>
Line 12: Line 12:
 
* [[Int]]
 
* [[Int]]
 
* [[Round]]
 
* [[Round]]
* [[Frac]]
+
* [[Trunc]]
 
 
[[Category:Pascal]]
 

Latest revision as of 05:55, 16 February 2020

English (en)

Function Frac returns the fractional part of the argument X, where X is a floating point value.

Declaration

 function Frac(X: ValReal): ValReal;

See also: