Formatting / Transforming Numbers

Forums Desktop Info Formatting / Transforming Numbers

This topic contains 1 reply, has 2 voices, and was last updated by Glenn Glenn 3 months, 3 weeks ago.

  • Author
    Posts
  • #2041 Reply
    Avatar
    Nathan K.

    Noticed that your “Transforming Numbers” for k,m,g,t and b doesn’t actually do the /1024 math like it should. For instance, my disk size is 237 GB (255,413,528,816 bytes), but Desktop Info is showing it as 255 GB. Can this be fixed?

    Thanks!

    0
  • #2043 Reply
    Glenn
    Glenn
    Keymaster

    It depends on whether you’re using binary transform (lower case) or decimal transform (upper case). In your case decimal transform will give you 255GB and binary transform will give you 237GB. Hard drive manufacturers generally quote capacity in decimal bytes but you can use binary if you want. The sample config files use decimal transforms for logical drives.

    1+
Reply To: Formatting / Transforming Numbers
Your information:




Do NOT follow this link or you will be banned from the site!