BINARYFLOAT & BINARYDOUBLE datatypes used for number-crunching & scientific applications - PL/SQL

Q.  Which datatypes make it practical to write PL/SQL programs to do number-crunching, for scientific applications involving floating-point calculations.
- Published on 19 Oct 15

a. BINARY_FLOAT
b. BINARY_DOUBLE
c. Both A & B
d. None of the above

ANSWER: Both A & B
 
Explanation: The BINARY_FLOAT and BINARY_DOUBLE require less storage space which make them more efficient. They do not represent fractional values precisely so they should not be used where accuracy is needed.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)