Spanish format (1.234,56)

Hello Make Community,

I recently registered and need some assistance with a specific formatting task. I’m trying to convert a number from the English format (e.g., 1,234.56) to the Spanish format (1.234,56) using the Text Parser module in Make. I’ve attempted a few configurations but haven’t been successful yet. Could anyone provide guidance or share an example of how to set up the Text Parser module correctly for this purpose? Any help or tips would be greatly appreciated!

Thank you in advance!

Welcome to the Make community!

You can use the built-in function parseNumber and formatNumber

E.g.:

{{ formatNumber(parseNumber("1,234.56"; "."; ","); 2; ","; ".") }}

Screenshot_2024-02-06_230243

Output

Screenshot_2024-02-06_230252

2 Likes