mysql - How to Set Price on SQL -


this question has answer here:

you can see sql here i've form on website , when add price in format -> "199.99", it's saving "1999.00" on sql. , same problem "19.99" format.

table type "decimal" , "10.2". how can save price format "19.99".

input:

<input name="price" type="text" id="price" class="form-control"  placeholder="0.00" onkeyup="calculate()" required /> 

its code, not sql

block quote


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -