I have tried a few suggestions, it seems its almost impossible to keep the post superglobals original structure. I dont know if this makes sense but here it goes.
Form Amount: 100.00 <-- $_POST['amount']
$total = $_POST['amount'];
$total + 2.00;
$_POST['amount'] = $total;
I'd like this to echo 102.00
Only displays what was entered (100.00)
Ive tried using (int) from a prior suggestion, It would only allow 2 digits to be entered, (11, or 30) opposed to 100.00
Im trying to keep the $_POST structure because im sending the post data as a whole through a class, Is this possible?
Any help is much appreciated.