Oracle SQL output change number to 99.99 format

I have a field that Im selecting called percentcomplete.
Select PHYSICALPERCENTCOMPLETE
From Tablex

Where currently the output looks like:
87.765342
65.546323773
2
0
100
38.4

I want to change my sql select so that it displays only 2 numbers past the decimal:

87.76
65.54
2.00
0.00
100.00
38.40

How do I change this?
k3vsmithAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
Select to_char(PHYSICALPERCENTCOMPLETE,'999.99')
 From Tablex
sdstuberCommented:
select to_char(PHYSICALPERCENTCOMPLETE,'999.00') from tablex
slightwv (䄆 Netminder) Commented:
Small correction for the '0':

Select to_char(PHYSICALPERCENTCOMPLETE,'990.99')
  From Tablex

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

sdstuberCommented:
all of the posts above will embed spaces the left pad the value for a sign and 3 digits

if you don't want the leading spaces, but only the actual digits then include the "fm"


select to_char(PHYSICALPERCENTCOMPLETE,'fm990.00')  from tablex


also note,  using 00 after the decimal point is important instead of 99  when using fm
k3vsmithAuthor Commented:
This works but anything that was a 0 is now outputting as .00
This isnt a huge problem but anyway to get that to also output as 0.00?
k3vsmithAuthor Commented:
Ah, thanks!
k3vsmithAuthor Commented:
Thanks guys!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.