currencyFormat property
String
get
currencyFormat
分转元并格式化(输入单位为分,恒定输出两位小数)。
Implementation
String get currencyFormat {
return (safeValue / 100).toStringAsFixed(2);
}
分转元并格式化(输入单位为分,恒定输出两位小数)。
String get currencyFormat {
return (safeValue / 100).toStringAsFixed(2);
}