
June 19th, 2000, 05:28 AM
|
|
Contributing User
|
|
Join Date: Jan 2000
Posts: 79
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
|
Divide by 1024?
<?
$b = 20000;
$kb = bcdiv($b, "1024", 2);
echo "$kb";
?>
where $b is the size in bytes and $kb is the size in kilobytes
the 2 represents the number of decimal places
Basil
|