11g Client - Inconsistencies at the 16th decimal place

In TOAD, SQLPlus, & ODBC clients numbers returned from a query are correct (max 3 decimal places)
In Discoverer & from a report, the numbers are off at the 16th decimal place...
EG:
7.081 becomes 7.0810000000000004
7.090 becomes 7.0999999999999994 (which is exceptionally weird because the rounding doesn't work)
7.200 becomes 7.2000000000000002
Any idea what would cause this?
How can I query from SQLPlus (or TOAD) to confirm whether or not those extended decimal places actually exist in the table?

Alan3 wrote:
Maybe I should have added this little tidbit...Please be as verbose as possible (feasible). Show queries etc. - use copy and paste.
The particular table in question is an interface table that has been in place for 4+ years.
The columns in question are of data type NUMBER.
We just switched the PC that runs this interface to Win7 with an 11g client.Describe the interface. E.g. In what program language is it written?
Now we see the extended decimals with Discoverer (on any PC) and the interface report (an old report built from developer 6) as well, but not from SQL, etc...How is changing one pc client related to the Discoverer and Reports reports? Has the database server been upgraded also? (full version from select * from v$version; )
Do you see the same change for "old" data (from before the switch).
I want to know if there is a setting in SQLPlus or the DB client that limits the display of the decimal places that I can alter to determine if the extended decimals actually show up... (they shouldn't be there at all)Both sqlplus and db may affect the outcome, e.g.
SQL> desc test
Name                                      Null?    Type
A                                                  NUMBER
B                                                  NUMBER(38,5)
SQL> show numw
numwidth 10
SQL>
SQL> select * from test;
         A          B
     12345      12345
123456789  123456789
    123,45     123,45
123,456789  123,45679
     1,234      1,234
1,23456789    1,23457
6 rows selected.The same values was inserted to both columns of test. With scale = 5 for its datatype, B values are rounded (4th and 6th row).
SQL> set numw 5
SQL> select * from test;
    A     B
12345 12345
123,5 123,5
123,5 123,5
1,234 1,234
1,235 1,235
6 rows selected.The numwidth setting affects sqlplus formatting.
Edited by: orafad on Jan 5, 2011 9:44 PM

Similar Messages

  • How to get the exact decimal places displayed while exporting to Excel?

    Hi All,
    I have a requirement to display the exact decimal place values in my report. In my pivot table, i duplicated a column named order number and converted to percentage by applying these conditions Show Data As-> Percent Of-> Column. I got a resultant column with one decimal point. As i needed two decimal points i took the xml of the report and changed the minDigits='2' and maxDigits='2' values like this. After that i got the accurate answer. But when i export it as excel sheet it is not showing the % column properly. The values after 0 is not getting displayed. Any solution for this?
    Thanks in Advance
    Thenmozhi

    Hi Thenmozi,
    You can try adding the below statement in the Custom CSS section of the your column properties.
    mso-number-format:"\@"
    Edit your report--> Criteria-->which column you want to display in excel click column properties --> select CCS--> Paste here above code.
    Second way:
    Edit your report --> criteria-->click fx option for your column and apply the below code.
    2. '<span style="display:none">&nbsp</span>' || CAST(your column name AS CHAR)
    Award points it is useful.
    Thank,
    Satya

  • 0QUANTITY - Six decimal places - Rouding to the third decimal place

    Hello experts, how are you?
    We are facing a problem with decimal places here in the project.
    We're using M3 unit of measure and the user required 6 decimal places.
    We already changed ANDEC and DECAN fields from T006 table to value 6,
    the key figure itself (0QUANTITY), the key figure in the InfoCube and in the input-ready query, but the recorded data is being rounded to the third decimal place.
    Can someone help us with it?
    Thanks in advance,
    Helder Rios

    Hi,
    First of all I'd like to thank you for your help guys.
    Ashish, I changed the data element RSKYFQUA to 6 decimal places. But when I try to activate the cube, the system is not able to re-create the fact tables.
    Do you know if there's a solution for it?
    Thanks in advance,
    Helder Rios

  • Re: How do I get the currency output to show the proper decimal placement?

    You have to apply the number format to each double that you want to format. Any numeric strings will have to be converted to double first, then formated.
            NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US);
            System.out.println(nf.format(293029.93820));
            System.out.println(nf.format(491993.999));
            System.out.println(nf.format(49.011));

    That did it! Thank you for the help.
    I didn't realize you had to place it within the TextArea

  • How do I keep the format in a fillable PDF, specifically the "$" symbol and the 2 decimal places?

    I created a fillable form in Acrobat Pro and when we use it in Adobe Reader on the iPad, the preset format for money doesn't stay when the fields are populated, but if we email the filled form back to the iMac, the format is there and it's fine.  Any suggestions?  Do I need to do something with the original fillable form so that it carries over to the iPad?

    I have been having a similar issue for a client's interactive PDF report that needed the "Show/Hide" feature in InDesign to reveal many acronyms' definitions in a "Pop-up" box when the acronyms were clicked on. Then the "Pop-up" boxes could be clicked on to close themselves using the same "Show/Hide" feature. While I have been going a little crazy the last FEW MONTHS scouring the forums and blogs (and just spent an hour and a half on the phone with Adobe's tech support staff that apparently only support desktops and laptops but have NO CLUE about the delivery of Adobe content via tablets and other mobile devices), I can say that a few things have been helpful - on the expert blogs (but sadly not in any of Adobe's support forums or call centers).
    Buttons in interactive PDFs are NOT supported in iBooks or Acrobat Reader on the iPad.
    Basic buttons, like navigational buttons (go to next or previous page) or submit, DO work in the "PDF Expert" app, which is $9.99 in the App Store.
    So far, no matter which workaraound I have tried from the forums and blogs, the "Show/Hide" buttons still do NOT seem to work properly in even the "PDF Expert" app. (I see a highlight field where my buttons and pop-ups should be but no content in them - no text and no background - only a translucent highlight that shows that somewhere in there it's trying to work. The highlight fields even show and hide the way the buttons and pop-ups are supposed to, which is maddening!)
    The only recommendation I could get from the Adobe tech support folks was to use InDesign and the Digital Publishing Suite (DPS) instead and publish an app through the iTunes Store.
    Unfortunately that is NOT an option for me because my client's report is confidential and being sent to only a small group of less than 100 people.
    I could bypass the iTunes Store and distribute the "Ad Hoc" method of attaching the .ipa file (the app file) to an email list of up to 100 people but my client would have to buy the DPS Enterprise Edition, which costs upwards of $20,000. (Yes, that's $20K in American dollars.)
    There is NO option to distribute "Ad Hoc" with the Single Edition of DPS which comes with the Creative Cloud. I guess a lot of people ask that of the DPS forums and the experts give cranky repies that "No, it is just not possible with any DPS version less than the Enterprise Edition."
    There is no middle ground on this yet but a lot of people seem to be asking for it. What's up with that, Adobe? No support for the small to mid-sized businesses for simple interactive brochures and reports that they don't want to release to the world, just to a select few?
    The only solution I have found even slightly feasible is to create buttons that control "Multi-State Objects" (or MSOs) to behave similarly to the "Show/Hide" buttons and create a DPS .folio file from the InDesign doc.
    I still can't recommend that my client pays $20,000 to be able to distribute his interactive quarterly report but I think I found a way around a small distribution.
    You can share a .folio file with people through an email from the "Folio Builder" panel in InDesign. (See this help file: http://helpx.adobe.com/digital-publishing-suite/help/create-folios.html and scroll down to the "Share Folios" section.)
    Apparently, this link is not permanent, but I haven't found an answer anywhere as to when it will time out. I'm thinking at least 3 months will be enough for my client for the time being until the next quarterly report comes out. Hopefully by then Adobe will have come up with a cost-effective solution for the small to medium-sized business that wants to publish interactive documents for the iPad or the PDF apps on the iPad will become mature enough to handle these slightly more robust interactive features.
    I hope this was helpful to some of you trying to do something similar. If anyone has an elegant solution for the nearly-working interactive PDF on the iPad, please let me know. Thanks in advance!

  • Changing the Decimal places for Percentage in cost distribution in SC

    Hi Gurus,
    Is it possible to change the number decimal places for the Percentage field in cost Assignment tab in Shopping cart in cost distribution option?
    The user wants 3 decimal places, currently we can enter only 2 decimal places.
    I have gone thro' couple of blogs which are talking about changing the price decimal and not the percentage field decimal. (in IMG setting: General settings > Currencies > Set Decimal places)
    So, if anyone come acorss this issue, please let me know.
    Thanks and Regards,
    Nowsath

    Decimal Places Factor of the Receiver Weighting Factors
    Specifies the number of valid decimal places with which the given weighting factors are valuated.
    Example
    You enter 123456 as the weighting factor. Depending on the factor, this number is interpreted as:
    Factor Decimal places Weighting factor
    1 0 123456
    10 1 12345.6
    100 2 1234.56
    1000 3 123.456
    10000 4 12.3456
    100000 5 1.23456
    1000000 6 0.123456
    Please check with your FICO consulant .what settings you have in backend system.
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/bdbdc4575911d189240000e8323d3a/frameset.htm
    Muthu

  • Error message when updating decimal places in general settings

    Hello together,
    I got a big problem with the settings of decimal places.
    I know that I am only be able to incerase these but it's a virgin database for a customer with no data imported.
    Everytime I want to increase the prices decimal places I get the following error message:
    "cannot update while another user is connected to the company"
    But I checked all sessions connected to this database. I am the only person that is logged in.
    I closed the db more that one time but it doesn't work.
    Can you help me please?

    Hello Meike,
    I have had this problem a while ago and it was caused by the RPD-connection i had made with the customer server.
    I had to change the values directly on the client machine.
    Hope this also your solution.
    Kind regards.

  • Price Decimal Places

    Hi, My client modified the price decimal places to 6 and now the system
    doesn't let me to change back to two. I knowed about the message
    saying that this type of change is irreversible, but I needed back to 2 again. What is
    the best way to do that if any?

    Hi Martin,
    If you have backup ,then restore your previous back up because Once you increase the decimal , you cannot decrease .
    This is how system is designed .
    Thank you
    Bishal

  • Decimal Places in DSO

    Hi All,
    I'm trying to load a field from source system whose decimal length is 5. The InfoObject I created for this field is of data type Decimal and given decimal places upto 5 in additional properties of the InfoObject. I alos checked "Key Figure with Maximum Precicion". I loaded data into the InfoObject and its taking only 3 decimal places.
    Any solutions?

    Hello,
    I think its nothing to do with user parameters, it simply tells how the decimal format for that user is.
    I think you should be OK with the use of FLTP KF. Though it will show in exponential form in the display data, in the report it should be fine for the display with the needed decimal places (non exponential display in the report).
    Regards,
    Shashank

  • Decimal Places in purchasing

    Is it possible to maintain price with more than 2 decimal places in purchasing documents (contarcts/PO)?
    Thanks!
    Alok

    If you want to maintain 4 decimal places in price field
    of Po then you can define decimal places at currency key level.For example for curreny USD if you want to maintain the 4 decimal places then kindly maintain the decimal value as 4 in table TCURX for currecy key USD.the field is CURRDEC.You can also maintain this table via customizing SPRO->General Settings->Currencies->Set decimal places for currencies.
    This should helps you.
    Regards,
    Sunitha.

  • Increase XL Reporter's Decimal Places to more than 2

    Hi All,
    Can anyone advise on how to increase the default decimal places in XL reporter to be more than 2?
    The figures i retrieved from SAP Financial Template for the stock account is 1234567.81 but XL report shows it as 1234566.76.
    Does showing a differences of 0.05 value.
    I did a sum for the stock account from JDT1 using query. it is also showing me 1234567.81.
    So, I am assuming that XL reporter is using 2 decimal places by default.
    Please help my balance sheet is not balance.
    Regards
    Jessie

    I found that there is a SAP Note written to increase the decimal in SAP XL Reporter.
    See SAP Note 896207.

  • Download reported data in Tunisian currency (three decimal places)

    Dear all,
    if I use the download of reported data functionalety in EC-CS (TC cx3d1) and the file format is .txt, the system can not handle the three decimal places of tunesian currency and moves the comma one digit to the left side. The values are multiplied with 10 right now.
    Do I need to change the settings somewhere or is that a known problem?
    Many thanks in advance,
    Andrea Reinecke

    Hello,
    many thanks for the quick answer. Maybe I need to specify the problem a little bit: The Tunisian currency has been set to three decimal places. The databaselist shows the values correctly, e.g. 5000,000.
    If I use transaction cx3d1 to download the values, the system converts this value into a textfile. The problem is, that the values is not 5000,00 any longer, instead of 50000. That means, everything is multiplied with 10 and the decimal places are away.
    Do you know that problem? We have it only with the tunisian dinar, but not with the Hungarian currency, which has as well three decimal places.
    Best regards and many thanks in advance,
    Andrea Reinecke

  • Decimal places when exporting HFM form to Excel

    Hi All,
    We are on HFM 9.3.1.3.
    From the web, when we export a data form to Excel, we lose the decimal places.
    In our data form we use 3 decimal places, however all exports to Excel deafult to 0 decimal places. We can reproduce in Excel 2003 and 2007.
    Is there a setting we can change so that an export to Excel picks up the decimal places used in the data form?
    Thanks for your help.
    Seb

    Hi,
    Thanks for the reply. I just checked and both settings are the same:
    decimal separator is a . in the server's regional settings and user preferences.
    I have tried changing the regional settings to no avail.
    The strange thing is that if I connect from my laptop to another 9.3.1 environment then I can export to excel with the correct decimal places.
    I'd say this is definitely an environment issue.
    Thanks again for your help.
    Seb

  • Decimal places diferent in BO SUM function than from DB

    Hi,
    I have a column from a Netezza database with 2 decimal places, if I apply a sum() function in BO (report) the decimal places are 4.
    The strange part is that if i do exact the same query in a DB2 database the decimal places are always two (like in DB) even if i use a sum function in report.
    There is some configuration regarding the database i'm using to set the decimal places in the report level to be the same than in DB?
    Edited: I've been studing the problem and I found using a odbc instead of a jdbc makes all the columns have 2 decimal places, and the sum problem doesn't happen. Now my issue is the division. How is possible that with the exact same values with two decimal positions, in BO and exporting to excel the last decimal place is different in some cases
    Example:
    Lets say A/B with A=13549678065,560000 and B= 21629484348,690000. With Netezza result is 62,6444803173527 and Db2  62,6444803173528
    Thanks for your time.

    I've never seen this particular problem before. Quite strange. It sounds more like an OLAP or SQL Server issue, not BPC.
    I'm not aware of any configuration on SQL server that allows you to control the decimal separator.
    I had a similar problem in the past, when my customer refused to follow the install guide instructions, and insisted that the server be set to non-US English regional settings. If I recall, the issue had to do with date formats not decimal separators. They ended up un-installing and re-installing the entire OS (with US English setup, the second time around), and then it worked fine. This was back on 5.0, and perhaps the situation has changed since then. There's a section in the master / install guide that covers the server-side language & regional settings in some detail.
    But before you look at that, try something easier -- is it possible that the cube is somehow corrupted? Do you get any errors when you process the application? Perhaps there is some data in the fact table with an invalid member ID.
    Do you get the same result in your Excel report when you use both EVDRE and EVGET?
    And if you browse the cube data in SQL Mgmt Studio (logging into the Analysis Services cube) do you see aggregated data there?
    Regards,
    Tim

  • 3 decimal places for unit of measure KG

    Hi,
    I would like to create a production order. In the field total quant I would like to give the 3 decimal places of mesure KG.
    Error: "Only 2 decimal places are permitted for unit of measure KG"
    Where can I customize the system, so that 3 decimal places have been permited.
    thanks
    Desy

    thanks
    I've seen the place in Customizing where I will maintain it.
    Now I only have display authorization for class SS
    I will speak with our Basis for more authorization.
    Thanks
    Desy

Maybe you are looking for

  • Error in Accounting Doc with 2 taxes

    Dear Gurus, My client requirement is that they required 3 different taxes on pricing procedures of Sales Order to Billing Document. One is  general sales tax i.e 17% (MWST) , other is income tax (ZIN) i.e  10% and last one is Additional Tax i.e.1% (Z

  • IPhone will no longer sync to iTunes

    I downloaded the latest itunes software last night in order to download the new iPhone software but since updating my iTunes my phone will no longer sync. It appears in the devices category but whenever I go to click on my phone, iTunes freezes and I

  • How to use JNDI look up from a JSP

    Hello, I know I should not be doing this (writing the lookup code in a JSP) but have to do it for some reasons. I am using this code in my JSP: try      Context ctx = new InitialContext();      dataSource = (DataSource)ctx.lookup("jdbc/mybillingora")

  • Matrix report in XML publisher with dynamic column groups

    hi, i have one matrix report in txt format having 5 columns under 1 month heading. Now i want that all these 5 columns should repeat for multiple months depending upon input parameters. S. No. Organization Name Organization Id Project Code 1 GRANDWOO

  • System picture files being imported into iPhoto

    After upgrading to Leopard, I noticed that iPhoto v7.1.4 has imported pictures of many GFX system picture files. I cannot delete these files from iPhoto. There are many hundreds of these system file pictures that are clogging my photo library. How do