formatWithoutSign method

String formatWithoutSign([
  1. int numberOfDecimals = 2,
  2. bool ignoreDecimalIfZero = true
])

Implementation

String formatWithoutSign(
        [int numberOfDecimals = 2, bool ignoreDecimalIfZero = true]) =>
    format(numberOfDecimals, ignoreDecimalIfZero).replaceAll('-', '');