System.Frac
Delphi
function Frac(const X: Extended): Extended;
C++
extern DELPHI_PACKAGE Extended __fastcall Frac(const Extended X);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
説明
実数の小数部分を返します。
Delphi コードでは、Frac 関数は、引数 X の小数部分を返します。
X は、実数型の式です。結果は X の小数部分で、つまり、Frac(X) = X - Int(X) となります。