About 131,000 results
Open links in new tab
  1. Does .NET provide an easy way convert bytes to KB, MB, GB, etc.?

    Does .NET provide an easy way convert bytes to KB, MB, GB, etc.? Asked 12 years, 9 months ago Modified 6 months ago Viewed 214k times

  2. Correct way to convert size in bytes to KB, MB, GB in JavaScript

    I got this code to covert size in bytes via PHP. Now I want to convert those sizes to human readable sizes using JavaScript. I tried to convert this code to JavaScript, which looks like this: …

  3. PowerShell display files size as KB, MB, or GB - Stack Overflow

    Is the size at least 1 GB? Yes, display in GB (else...) Is the size at least 1 MB? Yes, display in MB (else...) Display in KB. Note that you should be testing in reverse order from the largest size to …

  4. Converting file size in bytes to human-readable string

    I'm using this function to convert a file size in bytes to a human-readable file size:

  5. Better way to convert file sizes in Python - Stack Overflow

    Mar 4, 2011 · I am using a library that reads a file and returns its size in bytes. This file size is then displayed to the end user; to make it easier for them to understand it, I am explicitly …

  6. file - PHP filesize MB/KB conversion - Stack Overflow

    Mar 31, 2011 · How can I convert the output of PHP's filesize() function to a nice format with MegaBytes, KiloBytes etc? like: if the size is less than 1 MB, show the size in KB if it's …

  7. How can I format bytes a cell in Excel as KB, MB, GB etc?

    Kevin: kB/MB/GB is really correct with multiples of 1000 only (as defined by SI, used by Mac & hard-drives). I guess this doesn't change that you want 1024 (more correctly written …

  8. How can I convert byte size into a human-readable format in Java?

    696 How can I convert byte size into a human-readable format in Java? Like 1024 should become "1 Kb" and 1024*1024 should become "1 Mb". I am kind of sick of writing this utility method for …

  9. c# - File-size format provider - Stack Overflow

    Sep 25, 2008 · The StreamSize struct is a representation of a stream size, allows you both to format automatic with the proper extension, but also to specify that you want it in KB/MB or …

  10. powershell - How to convert value to KB, MB, or GB depending on …

    How to convert value to KB, MB, or GB depending on digit placeholders? Asked 6 years, 2 months ago Modified 6 years, 2 months ago Viewed 7k times