Move the negative sign to the right (to_char)?
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Move the negative sign to the right (to_char)?

  1. #1
    Join Date
    Nov 2001
    Location
    New Brunswick, NJ
    Posts
    67
    Is there a way using to_char to move the negative sign to the right?

    SELECT trim(to_char(-35000000,'$999,999,990')) FROM dual

    results in
    -$35,000,000

    I would like it on the right.

    Thanks,

    P

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    SELECT trim(to_char(-35000000,'$999,999,990MI')) FROM dual

    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Nov 2001
    Location
    New Brunswick, NJ
    Posts
    67

    Talking

    Thank you very much )


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