Quantcast

Home arrow Forum
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
mod_PU_recent5 shows wrong score (1 viewing) (1) Guest
Bug Reports
Go to bottom Post Reply Favoured: 0
TOPIC: mod_PU_recent5 shows wrong score
#88
dope (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Props: 0
  
mod_PU_recent5 shows wrong score 1 Year ago  
Hello,

I Have installed mod_PU_recent5. At many Games the Score displayed: 1.03703e+06.

How can i fix this Problem?

Thank you for your Answer
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#89
steveometer (Admin)
Admin
Posts: 285
graph
User Online Now Click here to see the profile of this user
Props: 504
  
Re:mod_PU_recent5 shows wrong score 1 Year ago  
thats scientific notation, that happens with very big numbers

i dont know exactly what to do to make it not do that

i will look around, but im betting there isnt much i can do

SoM
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#133
remex (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Props: 0
  
Re:mod_PU_recent5 shows wrong score 11 Months, 4 Weeks ago  
Edit the mod_pu_recent5.php file!

Change this:

echo "<tr class=sectiontableentry".$i."><td>".$game."</td><td>".$score->score."</td></tr>";

With this:

$score=round($score->score,2);
echo "<tr class=sectiontableentry".$i."><td>".$game."</td><td>".$score."</td></tr>";

It works for me!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop