天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
字符串
>
常用字符串函数
FormatCurr
复制链接
简述
将实数Value根据参数Format设定格式转换成字符串返回
相应的格式说明请参考FormatFloat函数
定义
FormatCurr(Format: String; Value: Currency): String;
参数
名称
类型
说明
Format
String
字符串,格式串
Value
Currency
实数
返回
String
字符串
范例
Return FormatCurr('0.000E+00',232.24);
//输出:2.322E+02
参考
SetFormatLocalCode
GetFormatLocalCode
相关
Str2Array
Array2Str
Chr
WideChr
Ord
StrCmp
Concat
Format
SetFormatLocalCode
GetFormatLocalCode
AnsiFormat
Pos
Copy
SetLength
LeftStr
RightStr
LeftBStr
RightBStr
MidBStr
GetChar
SetChar
Str
Val
CompareStr
UpperCase
LowerCase
AppendStr
CompareText
SameText
Trim
TrimLeft
TrimRight
IsValidIdent
IntToStr
IntToHex
StrToInt
StrToIntDef
TryStrToInt
StrToBool
StrToBoolDef
TryStrToBool
BoolToStr
Booltostr2
FloatToStr
CurrToStr
FormatFloat
FormatCurr
StrToFloat
StrToFloatDef
TryStrToFloat
StrToCurr
StrToCurrDef
TryStrToCurr
Tostring
SpaceByNumber
AnsiStr2Array
TryUppercase
TryLowercase
SysEncodecryptStr
Letters