Exponential puzzler

From: Robertson Lee - lerobe <Lee.Robertson_at_acxiom.com>
Date: Mon, 27 Feb 2012 13:06:23 -0000
Message-ID: <F1A191B056E5E04EA2134D842F9396F82961231A_at_sunmsx01.Corp.Acxiom.net>



Guys,  

Anyone had to convert an exponential number to a proper decimal number ?  

Ive got a varchar2 field which holds an exponential number as a string and need to get it out as a real number....  

e.g  

select popularity from lee1;  

returns  

8.912655903259292E-5  

I would have thought a simple  

select to_number(popularity) from lee1;  

would work but it returns exactly the same.  

I know I can format it in SQL*Plus but this is actually part of an application and I need to update a table with the numeric value of the exponential string.  

TIA   Lee  



The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged.

If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system.

Thank You.


--
http://www.freelists.org/webpage/oracle-l
Received on Mon Feb 27 2012 - 07:06:23 CST

Original text of this message