Skip to content
New issue

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

Round rack power utilization to nearest 0.1% #12839

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

candlerb
Copy link
Contributor

@candlerb candlerb commented Jun 8, 2023

Fixes: #12838

Change int(...) to round(..., 1) for consistency with power-feed level display, and because rendering includes one decimal place of percentage already.

@jeremystretch
Copy link
Member

Thanks @candlerb!

@jeremystretch jeremystretch merged commit 43235f1 into netbox-community:develop Jun 12, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong rounding in rack-level power utilization figure
2 participants