weavers94
01-08-2007, 09:02 AM
can any one let me know how to get my script to calculate past 18 quintrillion it seems to stop at a little over that amount
this is a little of the script in the number area
function net ($id){
global $tab;
$pmp = mysql_fetch_array(mysql_query("SELECT whore,thug FROM $tab[pimp] WHERE id='$id';"));
$net=($pmp[0]*67+$pmp[1]*15);
$net=number_format(($net), 2, '.', '');
return"$net";
}
function money ($trn)
{
global $id, $tab;
$pmp = mysql_fetch_array(mysql_query("SELECT hoe,payout FROM $tab[pimp] WHERE id='$id';"));
$rand1=(rand(4, 8));$rand2=(rand(5, 10));
$money=$trn*(rand($rand1, $rand2));
$money=($money*$pmp[0]);
$tax=round($money*($pmp[1]/50));
$money=number_format(($money-$tax), 2, '.', '');
return"$money";
}
but i cant seem to get the amount in the round to go past the 18 quintrillion mark
this is a little of the script in the number area
function net ($id){
global $tab;
$pmp = mysql_fetch_array(mysql_query("SELECT whore,thug FROM $tab[pimp] WHERE id='$id';"));
$net=($pmp[0]*67+$pmp[1]*15);
$net=number_format(($net), 2, '.', '');
return"$net";
}
function money ($trn)
{
global $id, $tab;
$pmp = mysql_fetch_array(mysql_query("SELECT hoe,payout FROM $tab[pimp] WHERE id='$id';"));
$rand1=(rand(4, 8));$rand2=(rand(5, 10));
$money=$trn*(rand($rand1, $rand2));
$money=($money*$pmp[0]);
$tax=round($money*($pmp[1]/50));
$money=number_format(($money-$tax), 2, '.', '');
return"$money";
}
but i cant seem to get the amount in the round to go past the 18 quintrillion mark