Sign in to follow this  
Followers 0
anzacfalcon

InetGetSize in Megabytes

5 posts in this topic

#1 ·  Posted (edited)

InetGetSize in "Bytes" isn't too user-friendly so whats the best way to convert the variable to megabytes. Also @InetGetBytesRead in megabytes.

Edited by anzacfalcon

Share this post


Link to post
Share on other sites



bytes/2^10 KB

bytes/2^20 MB

bytes/2^30 GB

etc..

Share this post


Link to post
Share on other sites

bytes/2^10 KB

bytes/2^20 MB

bytes/2^30 GB

etc..

Thanks but can you use this in an example :)

Share this post


Link to post
Share on other sites

Thank's.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0