Skip to content

Commit

Permalink
Update usd formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ppupha committed Jan 7, 2025
1 parent abdcf5d commit 138ab1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/usdc_amount_formatter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class USDAmountFormatter {
late NumberFormat formatter;

USDAmountFormatter({this.digit = 2}) {
formatter = NumberFormat("${'#' * 10}0.0${'#' * (digit - 1)}", 'en_US');
formatter = NumberFormat("${'#' * 10}.${'#' * (digit - 1)}", 'en_US');
}

final int digit;
Expand Down

0 comments on commit 138ab1a

Please sign in to comment.