Skip to content

Commit

Permalink
Enforce no grouping in currency formatter, to be consistent with Mone…
Browse files Browse the repository at this point in the history
…yFilter. Fixes signalapp#13922
  • Loading branch information
Ascheidweiler committed Jan 18, 2025
1 parent 28c2809 commit 91641ae
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ data class Boost(
}

formatter.maximumFractionDigits = currency.defaultFractionDigits
formatter.isGroupingUsed = false

val value = s.toString().toDoubleOrNull()

Expand Down

0 comments on commit 91641ae

Please sign in to comment.