![]() |
(1) vote, 5.00 rating average (how do I remove the ".")?
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? Code:
$thread['voteavg']*100 = vb_number_format($thread['votetotal'] / $thread['votenum'], 2); Anyone know? :o |
All times are GMT. The time now is 08:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|