About 290,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, 11 months ago Modified 8 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: fun...

  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 the …

  4. 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 converting the …

  5. 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:

  6. r - How do I quickly convert the size element of file.info () from ...

    Apr 22, 2015 · Desired outcome: Quickly convert the file size element in a file.info() call from bytes to KB, MB, etc. I'm fine if the output is either i) a character string with the desired size type, e.g., "96 …

  7. 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 each …

  8. c# - How do I get a human-readable file size in bytes abbreviation ...

    How do I get a human-readable file size in bytes abbreviation using .NET? Example: Take input 7,326,629 and display 6.98 MB

  9. 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 KiB/MiB/GiB, as used …

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

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