in reply to subtraction not working right

Thanks everyone. I did a sprintf( "%6.2f", $value); on everything before the subtraction and it's giving me the correct results.