mysql - How to Set Price on SQL -
this question has answer here:
- what mysql type suitable “price” column? 4 answers
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
Post a Comment