|
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 |
senthhu Smarty n00b
Joined: 04 Jun 2007 Posts: 3
|
Posted: Mon Jun 04, 2007 10:00 am Post subject: comma seperator in match function |
|
|
I am expecting the result from {math equation z=a+b a= b=} as a comma seperator is this possible..Please let me know if any one knows.
Thanks
Senthilkumar |
|
Back to top |
|
demental Smarty Rookie
Joined: 11 Jan 2006 Posts: 20 Location: Lost in the French deeeeep countryside
|
Posted: Mon Jun 04, 2007 10:25 am Post subject: |
|
|
Hi
I'm not sur it is possible tu use a modifier chained with the math function.
At least you could register a block function to format the output and use it like this :
Code: |
{number_format}{math equation z=a+b a= b=}{/number_format}
|
|
|
Back to top |
|
senthhu Smarty n00b
Joined: 04 Jun 2007 Posts: 3
|
Posted: Mon Jun 04, 2007 10:41 am Post subject: help with {math function} |
|
|
can you please give a example for register a block function.. _________________ Thanks & Regards
Senthilkumar |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Jun 04, 2007 11:14 am Post subject: |
|
|
{math|number_format equation z=a+b a= b=} |
|
Back to top |
|
senthhu Smarty n00b
Joined: 04 Jun 2007 Posts: 3
|
Posted: Mon Jun 04, 2007 11:50 am Post subject: Got Result !! |
|
|
Got Result..Thank You so much.. _________________ Thanks & Regards
Senthilkumar |
|
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
|