Skip to main content

Notifications

Announcements

No record found.

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 140

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
    Suhail 140 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans