toRmb method

double toRmb()

转换人民币显示(保留两位小数)

Implementation

double toRmb() {
  var mod = pow(10, 2.toDouble()).toDouble();
  return ((this * mod).round().toDouble() / mod);
}