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!

Format Mask issue

SamFisherJun 13 2012 — edited Jun 13 2012
Hello All,

I need to convert a number '178473' to '000178473.00'

I've tried this but of no use.
SELECT TO_CHAR(LPAD(178473.00,9,'0'), '999999999.00') FROM DUAL;
Required:000178473.00

Thx
Shank.
This post has been answered by fsitja on Jun 13 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2012
Added on Jun 13 2012
3 comments
187 views