首页 > 代码库 > Unit Conversion

Unit Conversion

Q1:Sector Count ->> Capacity


SectorCount * Sector Size = total bytes


2097152 * 512 = 1073741824 /1024/1024/1024 = 1 GB



Q2:Capacity ->> Sector Count


Convertto total bytes /sector size =Sector Count


1GB* 1024*1024*1024 (bytes) = 1073741824 / 512 = 2097152