You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: usdt amounts use the region's decimals and miss the currency symbol #1649
USDT balances use the device's decimal separator, so a device set to a comma region shows "$0,00" while the rest of the app's dollar amounts and the "$" symbol suggest US formatting. Seen on Bitkit iOS 3.0.1.
Expected
USDT amounts use "." as the decimal separator, matching how Bitkit formats other dollar amounts (check both apps for consistency first).
On the Home balance tiles, with the balance unit set to $, Savings and Spending show "$ 0.00" but the USDT tile shows only "0,00". The USDT tile should show "$ 0.00" like the others.
This issue now holds every number-format and currency concern for USDT on this platform (one fix, one PR), per @ovitrif (thread).
Context from @ovitrif (thread): the comma comes from the platform's locale-aware number formatting, which the app applies to every amount, so a device set to a comma region shows "$0,00". The expectation here is that USD(T) amounts read with US decimals regardless of region. Which rule to follow (US formatting for USD(T) only, or for all fiat amounts) waits on the design answer in that thread.
Design answer from Aldert (thread): the formatting is currently mixed across Savings, Spending and USDT, which is undesirable. Requirement for this issue: one consistent number format for amounts across Savings, Spending and USDT (audit each balance and amount view first, then align them).
Also in scope (Aldert, thread): on the Home balance tiles, Savings and Spending read "$ 0.00" while USDT reads "0,00", with a comma and no currency symbol. When the wallet balance unit is set to $, the USDT tile should show "$ 0.00" like the others.
changed the title [-]bug: usdt balances use a comma as the decimal separator[/-][+]bug: usdt amounts use the region's decimals and miss the currency symbol[/+]on Oct 21, 2026
Activity
ovitrif commentedon Oct 21, 2026
Context from @ovitrif (thread): the comma comes from the platform's locale-aware number formatting, which the app applies to every amount, so a device set to a comma region shows "$0,00". The expectation here is that USD(T) amounts read with US decimals regardless of region. Which rule to follow (US formatting for USD(T) only, or for all fiat amounts) waits on the design answer in that thread.
ovitrif commentedon Oct 21, 2026
Design answer from Aldert (thread): the formatting is currently mixed across Savings, Spending and USDT, which is undesirable. Requirement for this issue: one consistent number format for amounts across Savings, Spending and USDT (audit each balance and amount view first, then align them).
ovitrif commentedon Oct 21, 2026
Audit on
master: the formatting is mixed. Bitcoin amounts and their fiat value use fixed separators. USDT and USD amounts follow the device locale.What a comma-decimal locale (
nl-NL,de-DE) shows, checked by running each formatter on that locale:1 234 567formatToModernDisplay, space grouping (Currency.kt#L116-L125)0.01234567formatToClassicDisplay,.decimal forced (Currency.kt#L129-L140)1,234.50formatCurrency,DECIMAL_SEPARATOR = '.'andFIAT_GROUPING_SEPARATOR = ','(Currency.kt#L17-L19, Currency.kt#L142-L155, via CurrencyRepo.kt#L230 and Money.kt#L217)1.234,50,0,00usdtOverviewAmount/usdtExactAmount, locale-aware (UsdtAmountHeader.kt#L54-L68; home tile at UsdtWalletScreen.kt#L109)$1.234,50String.usdCents, locale-aware (UsdtDepositReceiveScreen.kt#L318-L320)1.234,50usdDisplayAmount, locale-aware (PaykitAmountView.kt#L72)The number pad follows the same split: the USDT and USD amount pads use the locale's decimal key (SendAmountScreen.kt#L422, UsdtSendContent.kt#L512, UsdtReceiveAmountContent.kt#L53); the bitcoin pad always uses
..So on a comma-decimal phone the home screen shows
€1,234.50under Savings next to$0,00for USDT. iOS has the same split (synonymdev/bitkit-ios#1073).ovitrif commentedon Oct 21, 2026
Also in scope (Aldert, thread): on the Home balance tiles, Savings and Spending read "$ 0.00" while USDT reads "0,00", with a comma and no currency symbol. When the wallet balance unit is set to$, the USDT tile should show "$ 0.00" like the others.
[-]bug: usdt balances use a comma as the decimal separator[/-][+]bug: usdt amounts use the region's decimals and miss the currency symbol[/+]