Skip to Content

Discounts and rounding


I am working on a report where I am giving a discount to a grand total. I also include a cell that shows how much the discount is going to be. The problem is that when I add all of the discounts together the grand total is off by .01 . I understand that it actually is not and with the 20% discount that is the total but with the individual columns if you add them up individually they equal 1,325,241.73 and when you calculate the grand total I get 1,325,241.72 My question is how do I tell my calculation to only calculate to 2 decimal places and not to 3 like it is doing. Below is a image of the row, the value highlighted is the Grand total and the white cells are the individual rows.

If you add these 3 together the total in green is short by .01 but if you go out to 3 decimal places for all the cells it is actually correct.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 14, 2015 at 08:45 AM

    Hi Matt,

    You could create a formula with this code:

    Round({Number_field},2)

    And then, insert a Sum off of this formula field for the Grand Total.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 13, 2015 at 04:02 PM

    Hi Mark,

    If you are not doing any further calculations and want to display then convert total in text like :

    Totext(sum({total}),2)

    this will take care of only two dismal places.

    Thanks,

    Sastry

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.