This question was asked by one of our users on Discord.
Feel free to reply to this thread if you have any other queries.
This question was asked by one of our users on Discord.
Feel free to reply to this thread if you have any other queries.
To add comma’s inside the numbers we could we the .toLocaleString()
function.
Here’s an example, where we convert a number into Indian rupee format and add commas.
{{
function(){
var number = 123456.789;
return number.toLocaleString('en-IN')
}()
}}
Follow up to this:
The above solution is ok as a workaround or the displaying of numbers, however, numbers can still not be input in localized format, i.e. the required decimal separator seems to be hardcoded to “.” while a significant amount of countries use “,”, see Decimal separator - Wikipedia
Internationalisation is definitely on our radar, although it’s still pending to be picked up.