Hi everyone.
I have a webhook sending me a lot of information, one of them being:
“ReservationPrice”: “109,00”
I need to run a division based on the numeber of services within the same reservation and then send the result in the same format xxx,xx to GoogleSheet.
what is the exact issue you are having with this? There is a division operator in Math functions you can use for this and you can use the parseNumber() and formatNumber() formulas to define the decimal spaces.
Looks like the price is stored as a string because the decimal point is a comma. This means you need to convert it into a number before you can perform math operations.
To do that, you can use the built-in function parseNumber.