Difference between revisions of "Frac"

From Free Pascal wiki
Jump to navigationJump to search
m (Fixed syntax highlighting)
 
Line 5: Line 5:
 
Declaration
 
Declaration
  
<syntaxhighlight>
+
<syntaxhighlight lang=pascal>
 
  function Frac(X: ValReal): ValReal;
 
  function Frac(X: ValReal): ValReal;
 
</syntaxhighlight>
 
</syntaxhighlight>
Line 13: Line 13:
 
* [[Round]]
 
* [[Round]]
 
* [[Trunc]]
 
* [[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: