github / github/copilot-cli

Remaining reqs. percentage should be rounded to avoid floating-point noise

Aperta
#1,708 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub
area:terminal-rendering
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

## Description

The "Remaining reqs." percentage displayed in the CLI shows raw floating-point values instead of rounded numbers, leading to noisy output.

## Examples observed

- `Remaining reqs.: 7.000000001%`
- `Remaining reqs.: -81.563999999994%`

## Expected behavior

The percentage should be rounded to 1–2 decimal places, e.g.:
- `Remaining reqs.: 7.0%`
- `Remaining reqs.: -81.56%`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.