tools/android/loading Fix precision and formatting issues in frontend
Fix rounding issue: int(x + 0.5) does not round up correctly. This should be round(x+0.5) or math.ceil(x). Fix formatting issue: the timeout is a float, and should be printed using %f instead of %i. Review-Url: https://codereview.chromium.org/2037373003 Cr-Commit-Position: refs/heads/master@{#398277}
Showing
Please register or sign in to comment