|
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 |
jcx1028 Smarty Rookie
Joined: 13 Apr 2012 Posts: 12
|
Posted: Fri Nov 16, 2012 7:03 pm Post subject: Remove Decimal Points |
|
|
On our site (http://www.theusedcarplace.com), we're displaying the price using {$listing.fields.price.value}. Problem is, this adds a space between the dollar sign (which I can deal with if I have to) and shows two decimal points (which are always .00, so it's a bit unnecessary).
Here's our search results page, for an example of what I'm talking about: http://www.theusedcarplace.com/autos/search-results.html.
Is there any easy way to fix those issues (or at least the second one)? |
|
Back to top |
|
jcx1028 Smarty Rookie
Joined: 13 Apr 2012 Posts: 12
|
Posted: Fri Nov 16, 2012 7:06 pm Post subject: |
|
|
Nevermind. I just found a setting in the admin section of our script that eliminates the decimal. |
|
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
|