Why does smarty string rounding have no effect
Why does smarty string rounding have no effect
You can use PHP functions in smarty 3
<code><{$value|round}> <{$value|ceil}></code>
smarty2 When using php functions, you may need to add @
<code><{$value|@ceil}></code>