Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to convert a number to FLOAT with 9 decimal values.

795235Sep 20 2010 — edited Sep 20 2010
Hi all,
I need to convert a number like '10.02' to a floating point number with 9 decimal values like '10.022111221'. I think that the right function is TO_BINARY_FLOAT, but how can I obtain 9 decimal values? If I use the following syntax:

select TO_BINARY_FLOAT(num) from table

I obtain a floating point values with a variable number of decimal numbers after the ".", instead I need 9 number after ".".

Regards,
Maurizio.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 18 2010
Added on Sep 20 2010
3 comments
6,055 views