DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Format number

  1. #1
    Join Date
    Jan 2001

    Question Format number

    I want to convert a number to a char and make sure it has 3 digits after the decimal.

    Select to_char(222.1,'??????') from dual;

    I want it to look like 222.100.

    How do I do this??

  2. #2
    Join Date
    Aug 2002
    Colorado Springs

    Alsohave a look at the SQL Reference --all the possible elements of to_char() and to_date() and listed and explained
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.