MrAnthony Posted April 23, 2011 Posted April 23, 2011 Okay when i train i get like 1.3723 stats But the 0.3723 dose not add onto my stats is there a way to make it so it dose? Quote
rulerofzu Posted April 23, 2011 Posted April 23, 2011 PHP round example $stat = round(1.3723, 2); will result in 1.37 Or if you wish a whole number then round up or round down http://php.net/manual/en/function.round.php Quote
tom527103 Posted June 21, 2011 Posted June 21, 2011 how would i round down so instead of it coming up like 1.3723 it would just be 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.