Share via

Dynamics 365 ERP System Calculation: The digits after the decimal point were erased, but I want to round them up.

FU Maggie 0 Reputation points
2026-03-26T02:28:02.2233333+00:00

I used division under calculation. The result was a decimal, and the system automatically rounded off the digits after the decimal point. However, I want to be able to round it up. For example, if the result is 2.5, I want it to be rounded to 3, not 2.

Microsoft 365 and Office | Subscription, account, billing | For business | MacOS
0 comments No comments

2 answers

Sort by: Most helpful
  1. Hani-Ng 9,825 Reputation points Microsoft External Staff Moderator
    2026-03-26T03:10:32.6633333+00:00

    Hi FU Maggie

    Did you have a chance to check Quick Assist's response? If it does not resolve your issue, you should raise the matter via the Dynamics community for further support (https://community.dynamics.com).


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Q&A Assist
    2026-03-26T02:28:11.95+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Use an explicit rounding function in the calculation instead of relying on the default behavior, which is truncating/standard rounding.

    In Dynamics 365 Finance and Operations Electronic Reporting (ER), use:

    ROUNDUP(number, decimals)
    

    For the example where the division result is 2.5 and the requirement is to always round up to the next integer:

    ROUNDUP(2.5, 0)
    

    This returns 3 because ROUNDUP always rounds away from zero to the specified number of decimal places. Setting decimals to 0 rounds to a whole number.

    If the result is a calculated expression, wrap that expression in ROUNDUP, for example:

    ROUNDUP( field1 / field2, 0 )
    

    This ensures any decimal result (2.1, 2.5, 2.9, etc.) becomes 3.

    If the requirement is to round down instead (truncate toward zero), use ROUNDDOWN(number, 0). If standard rounding (to nearest, with banker's rounding) is needed, use ROUND(number, decimals).


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.