为什么文件夹属性的大小错误? [英] Why does folder properties give the wrong size?

查看:216
本文介绍了为什么文件夹属性的大小错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件夹(实际上很多)以MB为单位提供了错误的大小.右键单击文件夹并选择属性,将弹出一个对话框,其大小列为11.5MB(12,163,992字节).最后我检查了12,163,992字节= 11.6MB.为什么Windows报告大小不一致.

我试图了解Windows使用哪种方法可以给出11.5.
谢谢.

I have a folder (actually many) that give the wrong size in MB. Right clicking on a folder and selecting properties pops up a dialog that has the size listed as 11.5MB (12,163,992 bytes). Last I checked 12,163,992 bytes = 11.6MB. Why does windows report an inconsistent size.

I''m trying to understand what method windows uses that could give 11.5.
Thanks.

推荐答案

也许他们这样做:
Perhaps they do this:
TruncateToOneDecimal(TruncateToInt(12163992 / 1024) / 1024)


得出11.5.或者,也许它们只是截断到最接近的0.5,而不是最接近的0.1.


That gives 11.5. Or maybe they just truncate to the nearest 0.5 rather than the nearest 0.1.


这篇关于为什么文件夹属性的大小错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆