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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -