System.SysUtils.FloatToCurr

提供: RAD Studio API Documentation
移動先: 案内検索

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 例外を発生させます。

関連項目