Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
MarikaS

How to remove trailing decimal .00's from product pricing

Question

Hi there. I use the Adirondack template for my site and am wanting to remove the trailing decimal 00's from my pricing.

For example I want $249.00 to display as $249.

Any idea how to make this happen? Any help would be much appreciated, thanks!

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

If a response has helped you, please give thanks using the  like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png button.
Need personalised help? I'm a professional Developer who works with Designers internationally. You can book me via my company's website. www.sf.digital

Share this post


Link to post
  • 0

Good find @paul2009. That's an example of code I don't even remember writing. One time I went looking for a coding solution I couldn't solve, and was happy when I found it on Answers. Then I realized it was my own answer...


If a response helped you out, send a 'Like' 👍 (bottom-right) and/or 'Upvote' vote.jpg.c260784ece77aec852b0e3049c77a607.jpg (top-left)

Share this post


Link to post
  • 0

Been there too @Brandon!

The Community team have now imported the old Answers post 👍

 


If a response has helped you, please give thanks using the  like-20-mag.png.3997345d620e40b4760b5d7a667cad54.png button.
Need personalised help? I'm a professional Developer who works with Designers internationally. You can book me via my company's website. www.sf.digital

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...