toRmb method
转换人民币显示(保留两位小数)
Implementation
double toRmb() {
var mod = pow(10, 2.toDouble()).toDouble();
return ((this * mod).round().toDouble() / mod);
}
转换人民币显示(保留两位小数)
double toRmb() {
var mod = pow(10, 2.toDouble()).toDouble();
return ((this * mod).round().toDouble() / mod);
}