I got this php code. I am new in php and this is a very simple question. As you can see in the amount, i am getting post from a before page. My problem is the following If the user add 300USD then payment provider understand it as 3USD. If user insert 3000USD payment provider understand it 30USD. I want to add two extra zeros by default. How can I do it?
$params = array(
    'site_id' => '231321',
    'amount' => $_POST[amount],
    'currency' => $_POST[currency],
    'site_login' => $current_user->user_email,
    'email' => $current_user->user_email,
    'external_id' => $externalid ,
);
 
     
    