Tiberonmagnus
08-12-2009, 12:35 AM
I know it's a strange question, but can someone tell me where to look to remove the "." in the 5.00 rating average? I just want it to show as 500, and not 5.00.
Thanks for any help, it's appreciated! :D
It has something to do with.. $thread[voteavg]?
edit:
or.... I suppose it could be done this way too, just multiply the whole number by 100? So an average rating of 4.63 x 100 would become 463.. how would I do that?
edit 2
would I do something like this?
$thread['voteavg']*100 = vb_number_format($thread['votetotal'] / $thread['votenum'], 2);
--------------- Added 1250127144 at 1250127144 ---------------
Anyone know? :o
Thanks for any help, it's appreciated! :D
It has something to do with.. $thread[voteavg]?
edit:
or.... I suppose it could be done this way too, just multiply the whole number by 100? So an average rating of 4.63 x 100 would become 463.. how would I do that?
edit 2
would I do something like this?
$thread['voteavg']*100 = vb_number_format($thread['votetotal'] / $thread['votenum'], 2);
--------------- Added 1250127144 at 1250127144 ---------------
Anyone know? :o