Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

decimal 4 places format

Sandy310May 10 2010 — edited May 10 2010
Hi,

i have data in 4 decimal place format in oracle when when it create excel file using UTL_file, it shows only 2 decimal.client want to see in 4 digit always.
i have used following format.
v_cost_pt:= to_char(rec_cpp.cost / rec_cpp.points,'$9990D9999');
it gives 
$0.0050
while in excel it shows 
$0.00
thanks
sp
This post has been answered by Frank Kulash on May 10 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2010
Added on May 10 2010
7 comments
2,719 views