mysql - How to store a value of the form 2.00 in databse in php? -


hii new in php , want store value 2.00 in database, storing 2 in database, used datatype int,double,float,decimal, no 1 works, please me sort out problem. in advance

something decimal (10,2).

you can adjust scale , precision fit needs of numbers need store

for ex:example: decimal(5,2) number has 3 digits before decimal , 2 digits after decimal


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -