double - How to store 3 decimal places with MySQL -


i have field in database table, type of: double

how can store value this: 0,001 in it?

i've tried, it's truncated 0,00.

you can set number of decimal places part of table definition: colname double(4,3) allows 1 digit before decimal , 3 digits after.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -