MichaelLewis
Programmer
I'm using
$Bal = ($Bal - $row[3]);
and
<input readonly size=\"10\" style=\"color:black;text-align:right\" value=\"$Bal\">
to show the balance of the account.
How can I ensure I always get 2 decimal places,
e.g. 25.00 and not the 25 which I presently get.
Thanks,
Michael
$Bal = ($Bal - $row[3]);
and
<input readonly size=\"10\" style=\"color:black;text-align:right\" value=\"$Bal\">
to show the balance of the account.
How can I ensure I always get 2 decimal places,
e.g. 25.00 and not the 25 which I presently get.
Thanks,
Michael