|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
sarahfoxnz Smarty Regular
Joined: 11 Apr 2010 Posts: 76
|
Posted: Sat Apr 02, 2016 6:01 am Post subject: Add Comamas to Smarty output ? |
|
|
Smarty Version: Version: 2.6.26
http://www.smarty.net/forums/viewtopic.php?t=8986
Hello. I have found this old 2006 thread.
I am wondering if there is a built-in modifier, to add commas to large numbers..
EG
1546 = 1,546
658986 = 658,986
62356279 = 62,356,279 |
|
Back to top |
|
sarahfoxnz Smarty Regular
Joined: 11 Apr 2010 Posts: 76
|
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sat Apr 02, 2016 9:51 am Post subject: |
|
|
You can do it in template exactly the same way. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|