select decode(trim(to_char(nvl(2.10,0),'99,999.99')),'.00','0.00',to_char(nvl(2.10,0),'99,999.99')) from dual