Skip to main content

number separator

  • October 21, 2015
  • 5 replies
  • 19 views

VC_
Forum|alt.badge.img+1
  • Participating Frequently

 

I want to format the numbers in financial format like in thousands in vsql 

5 replies

Adrian_Oprea_1
Forum|alt.badge.img+1
  • Participating Frequently
  • October 21, 2015

I guess this is what you are looking for:

select to_char(1096,'L9G999G999G999G999D99')

-where L is the currency sign and G is the group separetor and D is the decimal.


VC_
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • October 22, 2015

Superb!!..

 

Many Thanks Adrian_Oprea_1


Adrian_Oprea_1
Forum|alt.badge.img+1
  • Participating Frequently
  • October 22, 2015

VC_
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • October 22, 2015

Thanks for this, but do you have document or url for create Pattern like 'L9G999G999G999G999D99' 

 

Thanks once again!. Adrian_Oprea_1


Adrian_Oprea_1
Forum|alt.badge.img+1
  • Participating Frequently
  • October 22, 2015

 just gave it to you :)