IntMoneyExten extension
货币工具类
- on
-
- num?
Methods
-
fenToLi(
) → int -
Available on num?, provided by the IntMoneyExten extension
分转元 -
fenToYuan(
) → double -
Available on num?, provided by the IntMoneyExten extension
分转元 -
fenToYuanStr(
{String? symbol, NumFormat format = NumFormat.defValue, bool isPrefix = true}) → String -
Available on num?, provided by the IntMoneyExten extension
分转元之后格式化 symbol:货币符号 ,isPrefix:货币符号是否在前面(true = $1.0 ,false = 1.0$) -
liToFen(
) → double -
Available on num?, provided by the IntMoneyExten extension
厘转分 -
liToYuan(
) → double -
Available on num?, provided by the IntMoneyExten extension
厘转元 -
liToYuanStr(
{String? symbol, NumFormat format = NumFormat.defValue, bool isPrefix = true}) → String -
Available on num?, provided by the IntMoneyExten extension
分转元之后格式化 symbol:货币符号 ,isPrefix:货币符号是否在前面(true = $1.0 ,false = 1.0$) -
yuanToFee(
) → double -
Available on num?, provided by the IntMoneyExten extension
元转分 -
yuanToLi(
) → int -
Available on num?, provided by the IntMoneyExten extension
元转厘