Difference between revisions of "Frac"
From Lazarus wiki
Jump to navigationJump to searchm (Fixed syntax highlighting) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Trunc}} | {{Trunc}} | ||
− | Function '''Frac''' | + | Function '''Frac''' returns the fractional part of the argument X, where X is a floating point value. |
− | X is a | ||
Declaration | Declaration | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
− | function Frac(X: | + | function Frac(X: ValReal): ValReal; |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 13: | Line 12: | ||
* [[Int]] | * [[Int]] | ||
* [[Round]] | * [[Round]] | ||
− | * [[ | + | * [[Trunc]] |
− | |||
− |
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: