> For this particular instance, you should be able to solve the problem with:
>
> $val1=(intval)((floatval($_REQUEST['withdraw_amount']) + 0.005)* 100);
>
> This gets the float value, adds 0.005 to it then multiplies by 100. It
> then gets the integer value of the result. Repeat for the available
> balance.
Thanks guys for the advice. Jerry, your workaround did the trick.