124
Views
3
Comments
[Format Currency] how should it be set?
format-currency
Service icon
Forge asset by Alexandre Realinho

Is it okay set up like this?

I don't get anything back...

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Locale should either be set to GetCurrentLocale() or to "en-GB",

you just copy/paste what you saw in the description of GetCurrentLocale() as example, and this is a condition that would return true or false. Not what you want I think.


2023-03-21 16-59-35
Gaetano Cerciello

Basically I have to associate to each currency that you choose the right autoformatting of the digit that the user enters.

2019-09-13 10-00-32
Alexandre Realinho
Champion

For Example in Portugal you write the 0,25 instead of 0.25, so if the locale is set to the currentlocale of "pt-PT" it will recognize the 0,25 as a valid decimal, and give you 0.25 as a return.

It doesn't depend on the currency by itself, since the Currency field is to recognize the inputted value as the currency sign itself so if you fill:

InputLocaleDecimal : AmountText

Locale : GetCurrentLocale()

Currency : "£"

You will be able to for each locale, be able to recognize de local format of writing the currency, with the £ currency sign in that format

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