Preparing search index...
The search index is not available
rock-utils
rock-utils
toLocalAmount
toLocalAmount
Function toLocalAmount
to
Local
Amount
(
num
:
string
|
number
, decimal
?:
string
, divider
?:
string
)
:
string
Description
将金额处理为本地数值的展示形式, 主要是加上千分位
Example
123456.78
=>
123
,
456.78
Returns
Parameters
num:
string
|
number
金额大小
decimal:
string
= "."
小数点符号
divider:
string
= ","
分割符号
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
rock-
utils
array
To
Tree
de
Repeat
diff
For
Two
Array
divide
Array
flat
Tree
To
Array
group
By
intersection
For
Two
Array
to
Local
Amount
union
Array
validate
Money
to
Local
Amount
Generated using
TypeDoc
Description
将金额处理为本地数值的展示形式, 主要是加上千分位
Example
Returns