Quote:
Originally Posted by nerbert
But HTML doesn't do arithmetic!
|
Well, the OP says "within the template", so I took that to mean without a plugin. HTML can't do math but there are {vb:math ...} and {vb:number ...} template tags for doing simple arithmetic and formatting a number.
Quote:
Try this plugin for "forumbit_display"
Code:
$forum['threadcount'] = vb_number_format(intval($forum['threadcount']) - 2);
|
If the original value is already formatted with commas then you'd still have the issue I mentioned above.