Code: Select all
@$amount = $_POST['amount'];i need the decimal to show until the variable $amount is sent to the payment gateway
what is the best way to remove the decimal from the variable
so a value of e.g
250.59
will be sent as 25059
thanks
Moderator: General Moderators
Code: Select all
@$amount = $_POST['amount'];