
08-16-2012, 12:45 PM
|
 |
|
|
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by S@NL - BlackBik
Hi, thanks for the update.
I still have an issue with showing decimals in the "postsperday" variable. I've found the solution.
On row 364 of forumhome_complete it says:
Code:
$templater->register('postsperday', vb_number_format($postsperday));
The default for the vb_number_format function is that 0 decimals are calculated
Change this to:
Code:
$templater->register('postsperday', vb_number_format($postsperday, 2));
By adding the ", 2" you tell the function to use two decimals and the decimals are showing up, separated by the decimal separator that belongs to the language in which the forum is used.
|
I'll get that changed for the next version
Fillip
|