Hello, I’ve started learning Make in the Academy and I’m up to the point where we learn formatNumber(1.cost; 2; “,”; “.”), however, the return is always 150.000,00. How do I change it to 150,000.00? I’ve read that it defaults to the European format and the locale has something to do with it. The thing is, my locale and organization is already set to my country (Philippines, which is similar to the US format)
What is the problem?
My scenario runs but uses the default format of 150.000,00. instead of 150,000.00. I’m using this formula formatNumber(1.cost; 2; “,”; “.”).
What have you tried so far?
I’ve tried made sure my locale, country, and organization if it’s correct. I’ve tried interchanging . and , but that didn’t fix it.
Thanks for getting back to me. I’ve already tried your suggestion prior to asking and it just doesn’t work for me, am I missing something? This {{formatNumber(1.cost; 2; “.”; “,”)}} returns as this 150000 (no separators at all). Please be patient with me, I’m new to this.
As advised by @samliew that’s the correct function. Please share a screenshot of how you’ve implemented it. There is no way of knowing if you’ve done it correctly or incorrectly.
I got it to work! As you’ve both mentioned, it was the other way around. But I wasn’t getting the correct result until you’ve pointed out the format in Sheet. As soon as I’ve dealt with that, it fixed it. Thanks!