string_format |
![]() ![]() ![]() |
This is a way to format strings, such as decimal numbers and such. Use the syntax for sprintf PHP function for the formatting. Example: Input: 2.43243252 Template: {#num|string_format:"%.2f"#} Output: 2.43 |