need smarty function, it will change digit to words
I need to display digit as a word in smarty,
ie.,
In PHP I pass the value $Rank = 2 to samrty
by
$smarty->assign('Rank', $Rank);
Then, it will be display in samrty as "two".
Any inbuilt function is there?
开发者_Python百科Thanks
There is no function for this. Though it would be pretty easy to make one.
http://www.smarty.net/docsv2/en/plugins.tpl
精彩评论