Hi frnds..
i am working on symfony and phpmyadmin..
my query is for phpmyadmin...
for a field i have specified FLOAT as a datatype.. and i have not specified any size to it..
then can anyone help me what will be the default size for that?

Hey.

By default, the size of a FLOAT is four bytes. (A single-precision floating-point value)
If you specify a precision greater than 23, e.g. FLOAT(25) , it will be created as DOUBLE, and use eight bytes. (A double-precision floating-point value.)

The default value for both, if none is specified, is 0.

See the manual for more details.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.