Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Location
    Connectiuct
    Posts
    70
    Plugin Contributions
    1

    Default Changing decimal places

    I have a client who sells widgets at 1/10th of a cent (ie: widget x is $0.073 each). I realize I can change the currency to 3 decimal places but then we need to figure out how to display most areas at 2 decimal places so the customers don't see a checkout price of $24.837 and such. I was hoping I could do a round(zen_get_products_display_price , 2); or something for those ares that I want it back to 2 decimal places but I don't know enough coding to figure that out. Any help or suggestions would be appreciated.

    Thanks,

    Jim

  2. #2
    Join Date
    Oct 2009
    Location
    Netherlands - NB
    Posts
    146
    Plugin Contributions
    0

    Default Re: Changing decimal places

    Many threads, few solutions.

    I have a similar issue, but my conclusion after reading all the treads was....waiting for the next version, which has better rounding options.

    may a totally zenned wizzkid can provide you something.

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Changing decimal places

    I wonder if you could use CSS to push the figures "under" an adjacent element to simply hide the last digit. Might be a bit difficult to get it to work reliably cross-browser.

    Rob

 

 

Similar Threads

  1. Currency Setting of Decimal Places vs pricing to 5 decimal places?
    By GoldBuckle in forum Customization from the Admin
    Replies: 0
    Last Post: 20 Aug 2013, 05:16 PM
  2. Decimal Places
    By fredmccay in forum Basic Configuration
    Replies: 0
    Last Post: 27 Jan 2011, 03:19 AM
  3. Decimal Places
    By Davx in forum Customization from the Admin
    Replies: 2
    Last Post: 20 Apr 2010, 04:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg