|
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 |
omarswan Smarty Rookie
Joined: 17 May 2003 Posts: 5
|
Posted: Fri Jun 20, 2003 4:16 am Post subject: newbie - curency formating |
|
|
Hi Guys,
is there a way to format the number "1658924562.52" so that
it displays like this "1,658,924,562.52".
I need it for currency formating.
Smarty Version : latest
PHP Version : 4.1X & 4.2X
Thanks! |
|
Back to top |
|
idxman01 Smarty Rookie
Joined: 10 Jun 2003 Posts: 14 Location: FL
|
Posted: Fri Jun 20, 2003 4:18 am Post subject: |
|
|
php function: number_format()
...there's also a smarty plugin that calls this function. |
|
Back to top |
|
omarswan Smarty Rookie
Joined: 17 May 2003 Posts: 5
|
Posted: Fri Jun 20, 2003 4:23 am Post subject: |
|
|
Thanks! |
|
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
|