Home » MYSQL » Data Types » Question
  1. Which datatype is best suited to store currency values?
    1. DECIMAL
    2. DOUBLE
    3. FLOAT
    4. INT
    5. None of these
Correct Option: A

Currency is a numeric information. For monetary calculations, FLOAT and DOUBLE are subject to rounding error and may not be suitable. A DECIMAL(M, 2) type is best suited for it.



Your comments will be displayed only after manual approval.