Skip to main content



No record found.

Business Central forum

How to show Decimal variable with .00 Included in Message

Posted on by 33
I want to show decimal Amount in Message with .00 Included even if it is a whole number.

Following are example of  
                             TotalAmount : Decimal;

TotalAmount is a decimal variable, I am displaying it using different amounts, such as 2323, 2323.1 and 2323.12. I want it to show 2323.00, 2323.10 and 2323.12.

  • Mohana Yadav Profile Picture
    Mohana Yadav 50,454 Super User on at
    How to show Decimal variable with .00 Included in Message
    Message(Format(TotalAmount, 0, '<Precision,2:2><Standard Format,2>'));

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans