We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36c18c7 commit 4d4a479Copy full SHA for 4d4a479
1 file changed
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php
@@ -1383,7 +1383,7 @@ protected function compileOutputTag($tag)
1383
// the # operator at the beginning of an output instructs
1384
// the complier to call the StringUtil::formatNumeric() method
1385
elseif ($formatNumeric) {
1386
- $parsedTag = 'wcf\util\StringUtil::formatNumeric(' . $parsedTag . ')';
+ $parsedTag = 'wcf\util\StringUtil::formatNumeric((float)' . $parsedTag . ')';
1387
}
1388
1389
return '<?=' . $parsedTag . ';?>';
0 commit comments