开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜