Re: to_number Problem

From: Roger Wernersson <roger.wernersson_at_adra.se>
Date: 1996/12/02
Message-ID: <32A29E06.44F4_at_adra.se>#1/1


karl wrote:
>
> a format mask ie to_number('1.200',999.999) and we still got 1.2 when we
> require 1.200

If you want to format a number, use TO_CHAR!

SELECT TO_CHAR (1.2, '999.000') FROM DUAL; or, in your case:

SELECT TO_CHAR ('1.200', '999.000') FROM DUAL;

-- 
Sport radio: people listening to people watching people having fun
Mailto:roger.wernersson_at_adra.se
BTW: All opinions are mine, all mine, and nobody's but mine.
Received on Mon Dec 02 1996 - 00:00:00 CET

Original text of this message