Is there a function like this already present in outsystems?

the function is this:

console.log(new Intl.NumberFormat('en-IN', { maximumSignificantDigits: 3 }).format(number))

I need to format the figure according to where the user is writing for example if he writes from England I must return a formatting based on the country from which he is writing.

I tried to find it. but unlucky....

we can do it using javascript, I created a workaround using javascript, please have a look.

https://amitj.outsystemscloud.com/DummyReactiveApp8/Screen1?_ts=637614603330739633

DummyReactiveApp8.oml

Is it helpful for you or not.

Hello Amit Jain,

yes, but I need an autoformat for all currency types.

Hello Gaetano,

Here's a forge component that might be of interest to you. FYI, I have not used it. 

https://www.outsystems.com/forge/component-overview/10096/format-currency

Regards,

AJ

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.