Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How to set the amount into 2 Decimal Places

Posted on by 215

Hi everyone,

I have encounter one problem which is i don't know how to set the amount into 2 decimal places in report layout.

2047.capture2.png

My problem is how to make the highlighted amount(yellow color) into 2 decimal places same as the amount decimal (red box)? For the first column, line amount column, it able to generate 176.00. So, there is no problem for the decimal places.

But on the other hands, when there is zero amount in the 2nd column and 3rd column, the decimal places will not shown in 2 decimal places.

So, where i should make changes and set it as 2 decimal places.

Thanks.

*This post is locked for comments

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: How to set the amount into 2 Decimal Places

    You can set the expression as

    =Format(Fields!abc.Value,"F2")

  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    RE: How to set the amount into 2 Decimal Places

    If you are talking about report, in the layout section, click the field and there should be a property called Format. You can assign it with a field (format.value field) or write a fixed format yourself.

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: How to set the amount into 2 Decimal Places

    Go to the Report Designer.

    Select the field, right click on field.

    Choose TextBox Property

    Now choose Number from left side pannel and then choose your the formating what you want.

    After OK, save/compile and run the report.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans