Re: Problem with TO_NUMBER function
From: Dirk Moebius <moebius_at_athene.informatik.uni-bonn.de>
Date: 26 Aug 1994 09:34:37 GMT
Message-ID: <33kcvd$cr4_at_news.rhrz.uni-bonn.de>
Date: 26 Aug 1994 09:34:37 GMT
Message-ID: <33kcvd$cr4_at_news.rhrz.uni-bonn.de>
> I got a problem with numbers lower than 1 :
> SQL> select to_number(.030,'90.99') from dual;
> ERROR:
> ORA-01722: Invalid Number
The format 90.99 is wrong.
Try 09.99 instead.
> SQL> select to_number(.030,'99.09') from dual;
>
> TO_NUMBER(.030,'99.00')
> -----------------------
> .03
> SQL> select to_number(1.030,'90.99') from dual;
>
> TO_NUMBER(1.030,'90.99')
> ------------------------
> 1.03
Just the same.
So long,
Dirk.
-- Dirk Moebius moebius_at_athene.informatik.uni-bonn.deReceived on Fri Aug 26 1994 - 11:34:37 CEST