FloatToCurr - C++ Builder

C++ Builder 参考手册 ➙ System::Sysutils ➙ FloatToCurr


浮点型数值转货币型数值

头文件:#include
命名空间:System::Sysutils
函数原型:

System::Currency __fastcall FloatToCurr(const System::Extended Value);

参数:

  • Value:浮点数;

返回值:

  • 参数 Value 转为货币类型数值;
  • 如果 Value 不在货币类型 (System::Currency) 范围,抛出 EConvertError 异常,
    货币类型范围为:-922337203685477.5808 ~ 922337203685477.5807

相关:

  • System::Sysutils::FloatToCurr
  • System::Sysutils::TryFloatToCurr
  • System::Sysutils::CurrToStr
  • System::Sysutils::CurrToStrF
  • System::Sysutils::FloatToStr
  • System::Sysutils::FloatToStrF
  • System::Sysutils::FormatSettings
  • System::Sysutils::TFormatSettings
  • System::Sysutils::StrToBool
  • System::Sysutils::StrToBoolDef
  • System::Sysutils::TryStrToBool
  • System::Sysutils::BoolToStr
  • System::Sysutils::DateTimeToStr
  • System::Sysutils::DateTimeToString
  • System::Sysutils::DateToStr
  • System::Sysutils::GUIDToString
  • System::Sysutils::IntToStr
  • System::Sysutils::IntToHex
  • System::Sysutils::TimeToStr
  • System::Sysutils::UIntToStr
  • System::Sysutils
  • System::Currency
  • System
  • std::itoa, std::_itoa, std::_itot, std::_itow
  • std::ltoa, std::_ltoa, std::_ltot, std::_ltow
  • std::ultoa, std::_ultoa, std::_ultot, std::_ultow
  • std::_i64toa, std::_i64tot, std::_i64tow
  • std::_ui64toa, std::_ui64tot, std::_ui64tow
  • std::ecvt, std::_ecvt
  • std::fcvt, std::_fcvt
  • std::gcvt, std::_gcvt

C++ Builder 参考手册 ➙ System::Sysutils ➙ FloatToCurr

你可能感兴趣的:(FloatToCurr - C++ Builder)