We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to have an option to specify that one wants to see the size just in bytes. On Windows it's not common to see filesizes in bits.
For example, I have a file which is 265318 bytes and it translates to 2.02Mb, which is correct, but I would like to have it translated to 259.10KB.
Would it be possible to have this option? :)
The text was updated successfully, but these errors were encountered:
Added a third optional boolean argument to disable bit sizes, fixes
third
bit
c05e09b
#25
7a3aa08
Hi,
I've added a new optional parameter to disable bit sizes. The second parameter is required to utilize the new functionality:
filesize(265318, 2, false) // 259.10KB
Sorry, something went wrong.
Thank you very much!
Successfully merging a pull request may close this issue.
It would be nice to have an option to specify that one wants to see the size just in bytes.
On Windows it's not common to see filesizes in bits.
For example, I have a file which is 265318 bytes and it translates to 2.02Mb, which is correct, but I would like to have it translated to 259.10KB.
Would it be possible to have this option? :)
The text was updated successfully, but these errors were encountered: