Descriptiontools/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.
Committed: https://crrev.com/89521b32d117da52d09a28419caf3ca303f3b761
Cr-Commit-Position: refs/heads/master@{#398277}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 10 (5 generated)
|