Skip to content

string_format

miroshnikov edited this page Mar 27, 2015 · 2 revisions

|string_format modifier

This is a way to format strings, such as decimal numbers and such. Use the syntax for sprintf() for the formatting.

Parameter Position Required Default Description
1 No n/a This is what format to use. (sprintf)

see also [string_format in PHP Smarty documentation] (http://www.smarty.net/docs/en/language.modifier.string.format.tpl)

Clone this wiki locally