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 separate the cents from an amount and put it in another field - SSRS

(1) ShareShare
ReportReport
Posted on by 150

Hi All,

Sorry this question for reporting issue but maybe the solution in NAV, so my question is i have an amount such as 180.60 USD i want separate the 0.60 to another filed and 180 in another filed also for reporting purpose in SSRS.

Do you have any idea how we can do it in NAV development as coding or in SSRS ?

*This post is locked for comments

  • Verified answer
    Suhail Profile Picture
    150 on at
    RE: How to separate the cents from an amount and put it in another field - SSRS

    it's Fixed, by using this code in C/AL:

    IntegerDebitAmount := "Debit Amount" DIV 1; //= 99
    DecimalDebitAmount := "Debit Amount" MOD 1 * 100;

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans