System.SysUtils.FloatToCurr
Delphi
function FloatToCurr(const Value: Extended): Currency;
C++
extern DELPHI_PACKAGE System::Currency __fastcall FloatToCurr(const System::Extended Value);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
説明
浮動小数点値を Currency 値に変換します。
FloatToCurr は、Value に等しい Currency 値を返します。Value が Currency 値の有効な範囲内にない場合、FloatToCurr は、EConvertError 例外を発生させます。