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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -