Decimal values of a number

Hi,

I’m trying to create a custom action for a payment checkout API.

The API only accepts values without decimal. Example if the amount is 1000, the API will read this as 10.00.

I tried formatting the number to currency, but if I want to show to users the amount of 1,000.00, the input value should be 1,000, but the API will read this as 10.00. If I put 1000.00 as input value, the API will not read this because of the included decimal.

Please help. Thank you.

Hi @PinoyAdaloUser,

You might want trying using formatting None, and multiplying the amount which comes from Adalo by 100.

Best,
Victor.

1 Like

I just created another property which adds 00 at the end of the amount.

The original amount will be shown as currency. While the ‘amount00’ is hidden for API purposes only.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.