Home » MYSQL » MySQL Database Operations » Question
  1. Which data type is best suited to store currency values?
    1. DECIMAL
    2. FLOAT
    3. DOUBLE
    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.