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

Search found 2 matches
Smarty Forum Index
Author Message
  Topic: How to remove comma from a number in .tpl file
sreenivas

Replies: 3
Views: 24151

PostForum: Feature Requests   Posted: Fri Sep 28, 2012 8:21 am   Subject: How to remove comma from a number in .tpl file
Hi douglassdavis,
when run below mentioned code, I am getting following error

freemarker.core.ParseException: Encountered ":"

any other solution ???
  Topic: How to remove comma from a number in .tpl file
sreenivas

Replies: 3
Views: 24151

PostForum: Feature Requests   Posted: Mon Sep 24, 2012 5:35 am   Subject: How to remove comma from a number in .tpl file
Hi,
I need to remove a comma from a number which comes dynamic to template file. e.g (if a number is like 1,112. need to display 1112).
below is my code.
<td>${variableMap[key]}</td>
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP