Guest aptechnologies Posted May 1, 2005 Share Posted May 1, 2005 Order.php returnes worng values to MYSQL database.. $pre_total_tax = sprintf("%.2f", $pre_total_tax); $payable = sprintf("%.2f", $payable); All digits afer decimal point are reset to 0s. Example: $pre_total_tax value is 14,37 but 14.00 is being returned to database. Please help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.