Hi Olaf!

Try this:
select cast('+0.2000000E+01' as double precision) from rdb$database

András

From: [email protected] 
[mailto:[email protected]]
Sent: Wednesday, February 28, 2018 7:44 AM
To: [email protected]
Subject: [firebird-support] exponential, string to double precision


Hello,

is there a simple function to convert a string "+0.2000000E+01" to a number, 
double precision, in this case to 2.0?

Thank you

Best regards

Olaf



__________ Information from ESET Mail Security, version of virus signature 
database 16977 (20180228) __________

The message was checked by ESET Mail Security.
http://www.eset.com



__________ Information from ESET Mail Security, version of virus signature 
database 16977 (20180228) __________

The message was checked by ESET Mail Security.
http://www.eset.com



[Non-text portions of this message have been removed]



------------------------------------

------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

Reply via email to