View Single Post
  #2  
Old 03-16-2013, 04:14 AM
 
weckie weckie is offline
 

eXpert
  
Join Date: Feb 2005
Location: Netherlands
Posts: 220
 

Wink Re: Display percentage (2 figures)

AH...

Just found it on the smarty website.

just put |round:"0" in you rsmart variable and it does the job.

f.i. {$percentage|round:"0"}
__________________
Herman Steijn

Using: X-cart 4.5.4
AT: http://www.weckonline.com LIVE
Reply With Quote