1.

Which among the following are the correct representation of “float(4,2)”?(a) 24.33(b) 124.4(c) 12.123(d) Both 24.33 and 124.4This question was posed to me in an interview.The above asked question is from MySQL Datatypes topic in section Data Types of MySQL

Answer» CORRECT answer is (d) Both 24.33 and 124.4

To explain I would SAY: Float(4,2) allowed at most 2 DIGIT at right of the decimal and left of the decimal.


Discussion

No Comment Found

Related InterviewSolutions