Remove decimals for a single form only

Hi there,

I have been using the solution found here How to remove decimals from the total calculation in Gravity Forms · GitHub to remove decimal places in one of our forms. this works great, however we have now added a second form which is used to process payments with Stripe. now the value sent to strip is incorrect. When it should be $225 the stripe value is now $2.25.

Any suggestions how to change the decimal setup for specific form IDs only?

Cheers,