Is there a way to include spaces as decimal number separators? Currently, the format is 23456.00
, but it needs to be 23 456
I've managed to eliminate the .00
using toFixed
, but I'm struggling with adding the space separator.
{{parseFloat(post.meta.price).toFixed(0)}}
Could changing the locale format in the code to fr-FR potentially solve this and add the space?