-----------------------------------------------
<div><a href="<?=$fileurl;?>" class="<?=$class;?>"<?=$thumb2;?>><img src="dlf/<?=$icon;?>" alt="<?=$files[$i];?>" /><strong><?=$filename;?></strong> <em><?=round(filesize($leadon.$files[$i])/1024);?>KB</em> <?=date ("M d, Y", filemtime($leadon.$files[$i]));?><?=$thumb;?></a></div>
-----------------------------------------------
in the above code, how can i change KB into MB and round to 2 decimals? I found the below code which says it does it but i have no idea how to replace the above to include it... Also, I know instead of 1024 i'd need 1048576 (i think).
-----------------------------------------------
float round ( float $val [, int $precision = 0 [, int $mode = PHP_ROUND_HALF_UP ]] )
-----------------------------------------------
<div><a href="<?=$fileurl;?>" class="<?=$class;?>"<?=$thumb2;?>><img src="dlf/<?=$icon;?>" alt="<?=$files[$i];?>" /><strong><?=$filename;?></strong> <em><?=round(filesize($leadon.$files[$i])/1024);?>KB</em> <?=date ("M d, Y", filemtime($leadon.$files[$i]));?><?=$thumb;?></a></div>
-----------------------------------------------
in the above code, how can i change KB into MB and round to 2 decimals? I found the below code which says it does it but i have no idea how to replace the above to include it... Also, I know instead of 1024 i'd need 1048576 (i think).
-----------------------------------------------
float round ( float $val [, int $precision = 0 [, int $mode = PHP_ROUND_HALF_UP ]] )
-----------------------------------------------