KB rounded-up size wrong sometimes
Posted: 11 Jun 2024 20:49
Comparing file sizes between windows explorer and xyplorer I noticed that on some file xy shows the size as 1 KB more.
For example a file with 4365572893 bytes.
Divided by 1024 results in 4263254,7783203125 which - rounded - is 4263255 KB.
That's what windows explorer also displays.
xy on the other-hand shows 4263256 KB, 1 KB too much.
I can't see how it would get to this number.
For example a file with 4365572893 bytes.
Divided by 1024 results in 4263254,7783203125 which - rounded - is 4263255 KB.
That's what windows explorer also displays.
xy on the other-hand shows 4263256 KB, 1 KB too much.
I can't see how it would get to this number.