sql - Oracle 10g Float format -


How can I return the float / decimal value with the following:

  SELECT 210 FROM DUAL  

... To get:

  210.00  

... instead of < Code> 210 ?

pl / sql oracle 10g

 select  TO_CHAR (210 , '99 9. 9 ') with double;  

More to_char related formats.


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -