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

Indexing in SQL -

objective c - iPhone and it's wireless area -

multithreading - Do lock objects in Java need to be static? -