Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Forcing 2 Decimal Positions

RE: Forcing 2 Decimal Positions

From: Burton, Laura L. <BurtonL_at_prismplus.com>
Date: Wed, 12 Mar 2003 11:40:05 -0800
Message-ID: <F001.00567F57.20030312114005@fatcity.com>


Thanks. This worked wonderfully!!  

-----Original Message-----
Sent: Wednesday, March 12, 2003 1:09 PM
To: Multiple recipients of list ORACLE-L  

select to_char(your_number, '0000.90')
  from dual
/  

Raj



Rajendra dot Jamadagni at espn dot com
Any views expressed here are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !! -----Original Message-----
Sent: Wednesday, March 12, 2003 1:54 PM
To: Multiple recipients of list ORACLE-L I know this must be extremely simple, but the only thing I can find for this is column format and that doesn't work, so could someone tell me how to force an amount field to show 2 decimal positions? I have tried format 999.99 and 990.00 but it will not print the zero if it is after the decimal ( i.e. 100.5 or 88 ). I know I have done this before but I guess I have gone brain dead.
Thanks in advance!
Laura

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Burton, Laura L.
  INET: BurtonL_at_prismplus.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Mar 12 2003 - 13:40:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US