0

If I add currency symbol to values it's look like: $5000, I want that currency symbol will be after value: 5000$, possible to format ?

1

1 Answer 1

1

Something like this?

select to_char(5000, '9999l'), to_char(5000, 'l9999')
from dual

Here is a sqlfiddle demo


If you don't want to specify the length you can do (I don't like this solution...):

select substr(trim(to_char('1', 'l9')), 1, 1) || 5000
from dual

Here is another sqlfiddle demo

1
  • @Lopezito, how do you get your foramt currently ?
    – A.B.Cade
    Mar 11, 2013 at 8:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.