weetat wrote:
> Hi all ,
> 
>  I have data which have value in bytes for example ,
> 
>    $bytes = 33554432;
> 
>   How to convert this to MB ?
> 
> THanks
> 
>  - weetat (PHP Novice)
> 

1GB = 1024 * 1MB = 1024 * (1024 * 1KB) = 1024 * (1024 * (1024 * 1byte))

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to