Unsightly rounding of seconds in media scan #619

Open
opened 2026-01-29 15:24:04 +00:00 by claunia · 0 comments
Owner

Originally created by @TheRogueArchivist on GitHub (Jan 13, 2021).

Description

In media scan, some of the seconds displayed are rounded in an unsightly way and, in my opinion, should be rounded off much earlier in the number. Example: Took a total of 218.0445017 seconds (210.13282069999983 processing commands).
210.13282069999983 should probably be rounded to 210.1328207 to remove the unneeded 9's and to make it consistent with the other number in the line.

Exact command line used:

Aaru m scan E:

Originally created by @TheRogueArchivist on GitHub (Jan 13, 2021). ### Description <!-- Description of the bug --> In media scan, some of the seconds displayed are rounded in an unsightly way and, in my opinion, should be rounded off much earlier in the number. Example: ```Took a total of 218.0445017 seconds (210.13282069999983 processing commands).``` 210.13282069999983 should probably be rounded to 210.1328207 to remove the unneeded 9's and to make it consistent with the other number in the line. ### Exact command line used: `Aaru m scan E:`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#619