Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to set the amount into 2 Decimal Places

(0) ShareShare
ReportReport
Posted on by 227

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 44,507 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
    Teddy Herryanto (That NAV Guy) Profile Picture
    Teddy Herryanto (Th... 13,019 Moderator 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans