function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Felipe GuglielmettiFelipe Guglielmetti 

currency problem with (.) in trailhead. i am from latin america and 1.86 doesnt recognize my computer, even ive changed configuration in Region number and still with the problem

RangeError: Invalid currency codes :
    at new NumberFormat (<anonymous>)
    at P (https://mindful-raccoon-36c513-dev-ed.lightning.force.com/components/lightning/internationalizationLibrary.js:2:16002)
    at Object.format (https://mindful-raccoon-36c513-dev-ed.lightning.force.com/components/lightning/internationalizationLibrary.js:2:25421)
    at m.get formattedNumber [as formattedNumber] (https://mindful-raccoon-36c513-dev-ed.lightning.force.com/components/lightning/formattedNumber.js:2:1484)
    at n (https://mindful-raccoon-36c513-dev-ed.lightning.force.com/components/lightning/formattedNumber.js:2:360)
    at https://static.lightning.force.com/na111/auraFW/javascript/ozbOZt5SYUotl8he3imvcA/aura_prod.js:4:23536
    at Ne.observe (https://static.lightning.force.com/na111/auraFW/javascript/ozbOZt5SYUotl8he3imvcA/aura_prod.js:4:10659)
    at ao (https://static.lightning.force.com/na111/auraFW/javascript/ozbOZt5SYUotl8he3imvcA/aura_prod.js:4:22810)
    at Ir (https://static.lightning.force.com/na111/auraFW/javascript/ozbOZt5SYUotl8he3imvcA/aura_prod.js:4:34283)
    at fo (https://static.lightning.force.com/na111/auraFW/javascript/ozbOZt5SYUotl8he3imvcA/aura_prod.js:4:22717)
 
VinayVinay (Salesforce Developers) 
Hi,

Try to update the currency field only with numbers like 3000 and not as 3000 USD.

And you need to assign CurrencyISOCode='USD'.

We have separate Trailhead team who can help you with these issues. So,can you please use the below link to reach out to them so that one of the agent will get in touch with you.

Support:https://trailhead.salesforce.com/help

Thank you!

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks,
Vinay Kumar
Diego CarbajalDiego Carbajal

You could fix this issue changing the "Currency Locale" option, by default was "spanish - null" in my case

User-added image