The ScaleSize function divides by 1024 instead of 1000.Why does the number change?
It also changes from MB to GB or TB based on the dropdown.
It changes to the next higher units when the number exceeds 1000. (It doesn't go in the opposite direction)Why does the number change?
It also changes from MB to GB or TB based on the dropdown.
For MB and higher, the bytes are divided by 1000 to get the desired units. When it’s KB, the bytes get processed by ScaleSize() and get divided by 1024 instead, so the final MB number will appear smaller than when MB is selected outright. It’s an inconsistency in the way unit conversions are handled in the firmware.I don't understand the confusion. The total reads 833.67 MB when MB is selected in the dropdown. The total reads 801.07 MB when KB is select in the dropdown. I don't understand what that has to do with the ScaleSize() function.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!