# Group thousands and drop the repeated window label in Usage & Spend · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/34ab1458c37be3e86a40fc44149fb0adcfc96d74)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 34ab1458c37be3e86a40fc44149fb0adcfc96d74

Requested commit: 34ab1458c37be3e86a40fc44149fb0adcfc96d74

Commit: 34ab1458c37be3e86a40fc44149fb0adcfc96d74

Tree: ef11559a76b0748c6a574f5c4ba7e1c757365956

Author: Simone

Committer: Simone

## Message

```
Group thousands and drop the repeated window label in Usage & Spend

Two readability defects in the cost surfaces.

- Money rendered as a bare digit run, so four- and five-figure totals read as
  "$3833.55". Number.toLocaleString with 'f' localizes the decimal mark but
  adds no group separators, so groupedDecimalString applies the grouping using
  the active locale's separators. Amounts now render "$3.833,55" under an
  Italian locale and "$3,833.55" under en_US. This reaches every amountString
  caller, including the provider detail cost sections.

- Every Usage & Spend provider row repeated "Last 90 days:", which the range
  selector directly above already states, and which is guaranteed consistent
  because costSnapshotMatchesSelectedRange filters the rows to the selected
  range. Normalized token costs now also expose windowValueLine, the same
  figures without the window label; costLine keeps the label for the provider
  detail view, which has no range selector of its own.

Static assertions cover both. Translation template regenerated.

```

## Parents

- [a7a7c79f9bb46f8e8ab1ab94cd728e0708767625](https://git.cafe/lucenx/codexbar-plasma/commit/a7a7c79f9bb46f8e8ab1ab94cd728e0708767625?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/34ab1458c37be3e86a40fc44149fb0adcfc96d74?format=markdown)
