How many members do you have? And what is the newest member's userid?
Here is the code I use in my forumhome stats hack on myy site and it works like it is supposed to:
PHP Code:
$statscache['activepercent'] = vb_number_format(($numbermembers / $newuserid) * 100, 2 );
Here are the rsults of that code:
Quote:
Total Registrations: 51, Active Registrations: (47 Members = 92.16%)
|