We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
import cliProgress from 'cli-progress'; const cli = new cliProgress.SingleBar(); cli.start(1000); cli.update(999);
Output: progress [========================================] 100% | ETA: 1s | 999/1000
progress [========================================] 100% | ETA: 1s | 999/1000
Current progress: 100% Expected: 99%
The text was updated successfully, but these errors were encountered:
Hi @OxCom ,
thanks for your feddback.
currently standard Math.round is applied to calculate the percentage value. it should be replaced by Math.floor to round down to the nearest integer
Math.floor
Sorry, something went wrong.
b842e85
No branches or pull requests
Example:
Output:
progress [========================================] 100% | ETA: 1s | 999/1000
Current progress: 100%
Expected: 99%
The text was updated successfully, but these errors were encountered: