formatDecimal method
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);