Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

comma seperator in match function

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
senthhu
Smarty n00b


Joined: 04 Jun 2007
Posts: 3

PostPosted: Mon Jun 04, 2007 10:00 am    Post subject: comma seperator in match function Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
demental
Smarty Rookie


Joined: 11 Jan 2006
Posts: 20
Location: Lost in the French deeeeep countryside

PostPosted: Mon Jun 04, 2007 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
senthhu
Smarty n00b


Joined: 04 Jun 2007
Posts: 3

PostPosted: Mon Jun 04, 2007 10:41 am    Post subject: help with {math function} Reply with quote

can you please give a example for register a block function..
_________________
Thanks & Regards
Senthilkumar
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Mon Jun 04, 2007 11:14 am    Post subject: Reply with quote

{math|number_format equation z=a+b a= b=}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
senthhu
Smarty n00b


Joined: 04 Jun 2007
Posts: 3

PostPosted: Mon Jun 04, 2007 11:50 am    Post subject: Got Result !! Reply with quote

Got Result..Thank You so much..
_________________
Thanks & Regards
Senthilkumar
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP