anzacfalcon Posted December 3, 2009 Share Posted December 3, 2009 (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 December 3, 2009 by anzacfalcon Link to comment Share on other sites More sharing options...
Authenticity Posted December 3, 2009 Share Posted December 3, 2009 bytes/2^10 KB bytes/2^20 MB bytes/2^30 GB etc.. Link to comment Share on other sites More sharing options...
anzacfalcon Posted December 3, 2009 Author Share Posted December 3, 2009 bytes/2^10 KBbytes/2^20 MBbytes/2^30 GBetc..Thanks but can you use this in an example Link to comment Share on other sites More sharing options...
Authenticity Posted December 3, 2009 Share Posted December 3, 2009 ConsoleWrite(7516192768 & " is: " & @CRLF) ConsoleWrite(@TAB & 7516192768/2^10 & " KB" & @CRLF) ConsoleWrite(@TAB & 7516192768/2^20 & " MB" & @CRLF) ConsoleWrite(@TAB & 7516192768/2^30 & " GB" & @CRLF) ConsoleWrite(@TAB & Round(7516192768/2^40, 3) & " TB" & @CRLF) ConsoleWrite(@TAB & StringFormat("%f PB", Round(7516192768/2^50, 6)) & @CRLF) ... Link to comment Share on other sites More sharing options...
anzacfalcon Posted December 3, 2009 Author Share Posted December 3, 2009 Thank's. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now