Class to handle compiling template function calls for "number".
A formatted number will be output based on the number in the first argument and the browsing user's language.
Optionally, the number of decimals to display can be passed in the second argument. This defaults to 0.
package | XenForo_Template |
---|
compile(\XenForo_Template_Compiler $compiler, string $function, array $arguments, array $options) : string
string
Name of the function called
array
Arguments to the function (should have at least 1)
array
Compilation options
string