Stripe Payment gateway I wants to use amount in decimal format

Amount that you send to Stripe must be in integer (you should send value in cents) but note there is issue with some currencies. See explanation here: https://stripe.com/docs/currencies#zero-decimal

I use next code for my payment module:

<?php

$currency = 'usd';
$amount = 17.24;

if(in_array($currency,['bif','clp','djf','gnf','jpy','kmf','krw']))
{                   
    $amount = number_format(ceil($amount) , 0, '', '');
}
else
{
    $amount = number_format(($amount*100) , 0, '', '');
}

All amounts sent to Stripe must be in integers, representing the lowest currency unit (e.g., cents). So your subscription amount would be 999.

Hope that helps, Larry

PS I work on Support at Stripe.