changeF2YWithUnit static method

String changeF2YWithUnit(
  1. int amount, {
  2. MoneyFormat format = MoneyFormat.normal,
  3. MoneyUnit unit = MoneyUnit.normal,
})

fen to yuan, format & unit output. 分 转 元, format 与 unit 格式 输出.

Implementation

static String changeF2YWithUnit(int amount,
    {MoneyFormat format = MoneyFormat.normal,
    MoneyUnit unit = MoneyUnit.normal}) {
  return withUnit(changeF2Y(amount, format: format), unit);
}