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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -