Prevent decimal and numbers after from being removed when using (int)$var : I have a JSON object with order information in. Within this object is an amount for example `"amount" : "82.95"` I have this within a variable called `$amount` and I am using it within an array by doing `(int)$amoun`t. The problem with this is that it is removing the `.95` which is required. How can I get this value as an integer not string but retain the `.95`?

Example: 

    $amount = 82.95;
    
    echo (int)$amount;
    // Result = 82

