Good, I would like to be able to convert this figure:
23785638.83 to 23.785.638,83
in smarty I was thinking about using money_format but I get it whole, if you can help me I would appreciate it
Good, I would like to be able to convert this figure:
23785638.83 to 23.785.638,83
in smarty I was thinking about using money_format but I get it whole, if you can help me I would appreciate it
According to the documentation of SMARTY
, it should be:
*.php:
$smarty->assign( 'number', 23785638.83 );
*.tpl:
{$number|number_format:2:",":"."}
Result: 23.785.638,83