Answers.Body: <p>If this is localized to one specific page, then i'd probably do this via a jQuery snippet on that page.</p>
  
  <p>If this is desired for all public facing pages, I suspect a buildForm hook will allow you to modify the labels of the various price set elements</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-12T00:47:44.130Z
Answers.LastActivityDate: 2015-04-12T00:47:44.130Z
Answers.UserDisplayName: Donald Lobo
Answers.Body: <p>One option If using a priceset you can choose to not display the price and show price in the description in the formatyou want. However the price will show with decimals on subsequent pages (confirmations, etc.)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-08T14:36:44.727Z
Answers.LastActivityDate: 2015-04-08T14:36:44.727Z
Answers.UserDisplayName: KilakwaBT
Answers.Body: <p>In Settings - Localization, try changing Monetary Value Display from:</p>
  
  <pre><code>%!i
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>%!.0i
  </code></pre>
  
  <p>See: <a href="http://forum.civicrm.org/index.php/topic,20941.msg87684.html#msg87684" rel="nofollow">http://forum.civicrm.org/index.php/topic,20941.msg87684.html#msg87684</a></p>
  
  <p>Please see the comments below by Andrew Hunt and Lobo - the above will get rid of cents/pence across the board, which may not be what you want. See Lobo's answer for alternative approaches. Trust Lobo. :-)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-08T17:28:00.280Z
Answers.Text: The problem with this is that you will be getting rid of cents everywhere, not just on the contribution page.  If you have any contributions, event fees, or payment processor fees that are a fraction of a dollar, they'll appear just as the whole dollar (though they should be recorded in the database correctly).
Answers.UserDisplayName: Andie Hunt
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-12T00:46:01.870Z
Answers.Text: The above is a global change and is probably not desired. I suspect the user wants this for public facing pages only
Answers.UserDisplayName: Donald Lobo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-08T11:05:18.280Z
Answers.LastActivityDate: 2015-07-03T09:25:26.517Z
Answers.LastEditDate: 2015-07-03T09:25:26.517Z
Answers.UserDisplayName: davejenx
Body: <p>I'm offering several prices on a contribution page:
  () $10.00 Bronze
  () $100.00 Silver
  () $1000.00 Gold</p>
  
  <p>I'd want to remove the decimal, because no suggested amount has cents, but can't figure out is there is a setting or if I need to dig into the code (and possibly write an extension?)</p>
  
Tags: <civicontribute>
Title: How do I suppress showing cents on a contribution page?
ThreadText: # How do I suppress showing cents on a contribution page?
  
  (Asked by: username_0 on 2015-04-08)
  
  I'm offering several prices on a contribution page:
  () $10.00 Bronze
  () $100.00 Silver
  () $1000.00 Gold
  
  I'd want to remove the decimal, because no suggested amount has cents, but can't figure out is there is a setting or if I need to dig into the code (and possibly write an extension?)
  
  **Tags:** civicontribute
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_3 on 2015-04-08. Score: 5 | Accepted answer
  
  In Settings - Localization, try changing Monetary Value Display from:
  %!i
  
  to:
  %!.0i
  
  See: http://forum.civicrm.org/index.php/topic,20941.msg87684.html#msg87684
  Please see the comments below by Andrew Hunt and Lobo - the above will get rid of cents/pence across the board, which may not be what you want. See Lobo's answer for alternative approaches. Trust Lobo. :-)
  
  > **Comments:**
  > **username_4**: The problem with this is that you will be getting rid of cents everywhere, not just on the contribution page.  If you have any contributions, event fees, or payment processor fees that are a fraction of a dollar, they'll appear just as the whole dollar (though they should be recorded in the database correctly).  
  > **username_1**: The above is a global change and is probably not desired. I suspect the user wants this for public facing pages only  
  
  ---
  
  ### Answer by username_1 on 2015-04-12. Score: 3
  
  If this is localized to one specific page, then i'd probably do this via a jQuery snippet on that page.
  
  If this is desired for all public facing pages, I suspect a buildForm hook will allow you to modify the labels of the various price set elements
  
  
  ---
  
  ### Answer by username_2 on 2015-04-08. Score: 2
  
  One option If using a priceset you can choose to not display the price and show price in the description in the formatyou want. However the price will show with decimals on subsequent pages (confirmations, etc.)
  
  
  ---
  
  