Text formatting support

I get a value from Stripe and I need to send this value to Salesforce.
Sounds easy. but im new to Make.com.

This situation im stuck on is because Stripe return me a value without a , or . seperator.
So an example of Stripe’s response is:
224233
OR
72356

Now for the Salesforce API I need to parse these example values correcly to this format.
2242,33
OR
723,56

I Javascript I would be able to do this in no time. But which function in make can help me solve my problem. Thanks!

You can use the built-in function formatNumber

e.g.:

{{formatNumber(224233 / 100; 2; ","; emptystring)}}

Screenshot_2024-06-12_000651

Output

Screenshot_2024-06-12_000600

For more information, see the function documentation in the Help Center.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

General

Help Center Basics

Articles & Videos

samliewrequest private consultation

Join the unofficial Make Discord server to chat with other makers!

2 Likes