formatDecimal method

String formatDecimal([
  1. int? fractionDigits
])

Implementation

String formatDecimal([int? fractionDigits]) =>
    Get.localization.formatDecimal(toInt()).post(
        fractionDigits != null
            ? toStringAsFixed(fractionDigits).afterDot
            : this is double
                ? toString().afterDot
                : null,
        between: GetLocalizations.current?.symbols.DECIMAL_SEP);