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 365 | Integration, Dataverse...
Suggested Answer

JS - Convert a number or currencies to words

(0) ShareShare
ReportReport
Posted on by 905

Hello,

I would like to convert numbers or currency fields to words using JS or plugins.

For example: If the total cost is 10,000$, a JS should be triggered and set the value of the field in the form to Ten thousand Dollars.

The below API achieves what I am looking for but I am wondering if we could have a native function instead of the API:

https://github.com/BitWeb/number-to-words-api

We might have the total cost value in different currencies (Australian, Canadian, etc..)

How would you suggest achieving the above requirements? Can you provide an example?

Any help is greatly appreciated.

Best regards,

EBMRay

I have the same question (0)
  • Suggested answer
    XM-22040801-0 Profile Picture
    11 on at

    Hi,

    I recommend you to do it in plugin (C#) rather than in JS.

    I invite you to have a look at this post which shows how to do it in C# : stackoverflow.com/.../converting-numbers-in-to-words-c-sharp

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 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans