
I'm currently using these variables to show the statistics in a sidebar:
{$stats['numposts']}
{$stats['numthreads']}
{$stats['numusers']}
Sadly, there's no decimal if the number is above 1,000.
Is there a way to enable the decimals?
![]() |
![]() I'm currently using these variables to show the statistics in a sidebar:
Sadly, there's no decimal if the number is above 1,000. Is there a way to enable the decimals?
if you are referring to the numeric separator, navigate to below location and put required dot or comma
admin panel >> configuration >> settings >> General Configuration >> Thousands Numeric Separator
^ I might have mistaken but do we have fraction decimal point for the number of posts, threads & users
I am not considering the averages shown on the stats page (eg.)
You can use the function number_format.
|
« Next Oldest | Next Newest »
|