InterviewSolution
Saved Bookmarks
| 1. |
Which datatype is best suited to store currency values?(a) INT(b) FLOAT(c) DOUBLE(d) DECIMAL |
|
Answer» Right option is (d) DECIMAL For explanation I would say: 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. |
|