to_number('123') : TO_Number « Conversion Functions « Oracle PL / SQL






to_number('123')

 

SQL>
SQL>
SQL> select 123
  2  ,      to_char(123)
  3  ,      to_char(123,'$09999.99')
  4  ,      to_number('123')
  5  from   dual;

       123 TO_ TO_CHAR(12 TO_NUMBER('123')
---------- --- ---------- ----------------
       123 123  $00123.00              123

SQL>

   
  








Related examples in the same category

1.Converting a Character to an Integer Value
2.Converting a Character Formatted as Currency to an Integer Value
3.Errors with the Format Mask
4.Converting VARCHAR2 Percentage Data to a Decimal Equivalent