web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Verified answer
    Suhail Profile Picture
    150 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans