How to suppress '.00' when using TO_CHAR
when I use the following sql, it gives 12.50 and that's fine
select to_char(1250,'999999999999.99') from dual
when I use the following sql, it gives .00 and I want only 0 without any decimal places.
select to_char(0,'999999999999.99') from dual
Question is how to supress .00 and display only 0 without decimal places
I would appreciate if anyone respond quickly.
Thanks in advance,
Ram