github / github/copilot-cli

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

Open
#1,708 0 comments 4 reactions 0 assignees View on GitHub
area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

## 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%`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.