FUEL CMS User Guide : Version 1.3.2


Format Helper

Function Reference [+]

currency('$value', ['$symbol'='$'], ['$include_cents'=TRUE], ['$decimal_sep'='.'], ['$thousands_sep'=','])

Formats value into a currency string.

Returns

string

Parameters

(string) $value 
(bool) $symbol whether to include the cents or not