Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Fixed file size rounding error. #7

Merged
merged 1 commit into from
Jul 27, 2022
Merged

Fixed file size rounding error. #7

merged 1 commit into from
Jul 27, 2022

Conversation

iterma
Copy link
Contributor

@iterma iterma commented Jul 26, 2022

#5 Rounding errors have been corrected for file sizes.

Not important per see, but some values didn't look aesthetically correct
(at least not to me 😉).

value old new
0 0 value 0 B
1 0 value 1 B
2 0 value 2 B
500 0,49 KiB 500 B
1 023 1 KiB 1023 B
1 024 1 KiB 1 KiB
1 025 1 KiB 1 KiB
1 048 570 1023,99 KiB 1023,99 KiB
1 048 571 1024 KiB 1 MiB
1 048 572 1024 KiB 1 MiB
16 866 345 16,08 MiB 16,09 MiB
16 887 317 16,1 MiB 16,11 MiB
16 960 717 16,17 MiB 16,18 MiB
16 981 689 16,19 MiB 16,2 MiB
19 487 785 18,58 MiB 18,59 MiB
19 508 757 18,6 MiB 18,61 MiB
20 200 817 19,26 MiB 19,27 MiB
20 242 759 19,31 MiB 19,3 MiB
1 073 736 581 1023,99 MiB 1023,99 MiB
1 073 736 582 1023,99 MiB 1 GiB
1 073 736 583 1023,99 MiB 1 GiB

@kxxt kxxt merged commit d13a015 into kxxt:master Jul 27, 2022
@kxxt
Copy link
Owner

kxxt commented Jul 27, 2022

Thanks for your contribution!

@iterma iterma deleted the issue#5 branch July 27, 2022 08:18
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.

2 participants