Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was reading about datatypes in ORACLE. I get to known that BINARY_FLOAT, BINARY_DOUBLE use binary precision which make them more efficient than NUMBER as NUMBER use decimal precision.

Please explain about binary precision.
Posted

1 solution

The binary precision is the 'usual' representation of float and doubles in computer memory ("IEEE floating point" at Wikipedia[^]). Machine hardware is optimized for using it.
However, please note, there's a reason why databases provide decimal precision data types (see, for instance, the "decimal32 floating-point format" page at Wikipedia[^]).
 
Share this answer
 
Comments
Sanjay Chauhan02 19-Mar-14 3:40am    
Thanks.
CPallini 19-Mar-14 4:00am    
You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900