BI Publisher - Number Format - Oracle Fusion middleware 11g

Hi I am extracting Organization_ID and when I look at the data within the data set it returns :300000001694368
but when I create a report, it displays the number within the report as 3.00000001694368E14

how can this be corrected?

Thanks in advance
shmzAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Helena Markováprogrammer-analystCommented:
I think that you have to use format mask like this:
SELECT TO_CHAR(300000001694368, '999999999999999')  FROM DUAL;

I have used format mask '999999999999999':
Returns value with the specified number of digits with a leading space if positive or with a leading minus if negative. Leading zeros are blank, except for a zero value, which returns a zero for the integer part of the fixed-point number.

Here you can find more about format masks:
http://docs.oracle.com/cd/E11882_01/server.112/e41084/sql_elements004.htm#SQLRF00212

I hope this will help you.

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
shmzAuthor Commented:
Thanks Henka
The numbers are displayed correctly in the report but as soon as exported to any format (eg. Excel, PDF,html), they are displayed with E and so on....

How can I keep the format intact?
Helena Markováprogrammer-analystCommented:
I think that you can either export ID as character or change templates (e.g. Excel ... cell for displaying number). But I don't know how and where to do it in Publisher.
shmzAuthor Commented:
thanks
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.