Preventing automatic scientific notation conversion for excel o/p of bi pub

I have a column in a query that contains a mixture of numbers and letters and hyphens. If the only letter is E, then I get scientific notation instead of the actual text,when I run the report for excel output and open it in excel.
For example:
185701E-02 becomes 1.86E+03 in the excel output of the report
4962E6 becomes 4.96E+09
will be really grateful if anyone can help

See this thread:
Re: Long account Numbers displayed in exponential form in excel using XML Pub
Regards,
Dave

Similar Messages

  • Preventing automatic scientific notation conversion for excel output?

    I have a column in a report that contains a mixture of numbers and letters and hyphens. If the only letter is E, then I get scientific notation instead of the actual text when I run the report for excel output and open it in excel.
    For example:
    185701E-02 becomes 1.86E+03
    4962E6 becomes 4.96E+09
    Any ideas how to fix or work around this in the template, data definition, or excel config?
    Thanks,
    Kevin

    I tried pre-pending an apostrophe in the SQL and in the rtf template to indicate to excel that it is a text field, but this just resulted (not surprisingly) in '185701E-02 instead of 185701E-02

  • Scientific Notation conversion to text Help needed

    I have a column with datatype nvarchar. I need to remove this problem thats happenning often, This is how sometimes the values can be 13343E11466  in my column  but when I run a query it changes to " 1.40E+279".. Do i need to convert
    the data type into text? or
    Can someone help me out ??
    FM

    > 13343E11466 
    That is not a common number. How do you interpret the string?
    If you want to keep it in a specific display format, you have to keep it as a string. SSMS reformats to a standard scientific display format. The actually value does not change.
    DECLARE @Fl float = 13343E11;
    SELECT @Fl;
    -- 1.3343E+15
    Excel does the same thing. This behavior is similar to datetime with a single internal binary representation and many string formats.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Displaying Scientific Notation

    I see a lot of people asking questions about how to prevent showing Scientific Notation.  I have the opposite problem, I can't seem to show scientific notation.
    In the field I'll Enter: 2.5E-5
    After commit, the value show: 0
    If I look in the database, it shows: 0.000027
    How can I get the form to show 2.5E-5?
    My Entity Attribute:
      <Attribute
        Name="Stock"
        ColumnName="STOCK"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        TableName="WASTE_STREAM_NUCLIDE">
        <Properties>
          <SchemaBasedProperties>
            <DISPLAYWIDTH Value="8"/>
          </SchemaBasedProperties>
        </Properties>
      </Attribute>
    My Field on the Page:
                    <af:inputText value="#{bindings.Stock.inputValue}" label="#{bindings.Stock.hints.label}"
                                  required="#{bindings.Stock.hints.mandatory}"
                                  columns="#{bindings.Stock.hints.displayWidth}"
                                  maximumLength="#{bindings.Stock.hints.precision}"
                                  shortDesc="#{bindings.Stock.hints.tooltip}" id="it2">
                        <af:convertNumber groupingUsed="false" pattern="0.######E0"/>
                    </af:inputText>

    Good point. If everyone having problems with SQL*Plus number formatting went to the free online HTML manual, looked for "NUMBER" in the index and found
        NUMBER
            column definition from DESCRIBE, 12
        NUMBER clause, 5.12.2
            VARIABLE command, 12
        NUMBER columns
            changing format, 6.1.2.1, 12
            default format, 6.1.2.1, 12
        number formats
            $, 6.1.2.2
            0, 6.1.2.2
            9, 6.1.2.2
            comma, 6.1.2.2
            setting default, 5.9.4, 5.9.4, 12, 12
        NUMFORMAT clause
            in LOGIN.SQL, 2.2.2.1
        NUMFORMAT variable, 12, 12
        NUMWIDTH variable, 12, 12
            effect on NUMBER column format, 6.1.2.1, 12then we'd have nothing to do.

  • Scientific notation doesn't display correctly

    Hi, this is just a general question but it's about the Calculator app. The problem is with displaying answers in scientific notation. When I'm in scientific calculator mode, answers displayed on the screen only appear in scientific notation when they are larger than the number of digits that can be displayed. However, whenever I use it to calculate something in which the answer is smaller than the set precision for the number of decimal places, it always gives 0 instead of scientific notation. For example, if I type a number such as 1E19 and press =, then the answer displays correctly as 1E19. However, if I type 1/1E19, and press =, then the answer simply shows up as 0 instead of 1E-19, which is the correct answer in scientific notation. So, it seems that the scientific notation in Calculator simply does not display negative exponents in the scientific notation (I know that I can type such numbers but for some reason, it cannot display them as answers). This is very annoying because I often work with very small numbers, not just very large ones. Is there any way that I can get the scientific notation to display negative exponents when I'm working with very small numbers and when the answer is smaller than the set number of decimal places?

    There are tonnes of possibilities and many websites with suggestions. I tried all sorts of these option (clear cache, clear cookies, anti-virus changes, page style options etc) with no success until eventually I accidentally changed my character encoding autodetect (firefox 6) from "off" to "universal" and everything is fine.

  • Powershell / Scientific Notation Woes / Formatting Output to Live Excel Sheet

    I have a WMI query in a script that dumps machine information to a live excel sheet.
    I find when I query the model # of the machine using (this line of code from the script):
    $Sheet.Cells.Item($count,4) = (Get-WmiObject win32_computersystem -ComputerName $computer).Model
    The output almost always changes into Scientific Notation, because this is a typical model number :   "3500-E52"
    Is there a way to modify the formatting of the:
    $Sheet.Cells.Item($count,4)
    so that Excel uses "text" formatting for that cell?  I know you can change the fonts etc... but have not been lucky in finding a powershell > excel reference
    that explains how to change a cell or column's formatting beyond the basics.
    I have seen recommendations to others to dump the results queries to a CSV first, and then import into Excel (which would allow a manual change of that column's format).  I'm just
    hoping to bypass the extra "hands on" and format more directly to a sheet in Excel.
    If .csv is the best way to go, I'll muddle through it and change the code.
    Any help is greatly appreciated.
    Ben

    $sheet.Cells(1,1).NumberFormat
    = "@"
    ¯\_(ツ)_/¯

  • SSRS report is incorrectly exporting scientific notation to Excel

    I created a SSRS  2012 report which has a field of data that is set to scientific notation (1.234E-15).  Upon exporting it to Excel version 2010,
    some of the values come across as #VALUE! and it should show the actual number.  It is only doing this for parts of the data, I have some that have 1.234E-15 that show up fine.  I have tried many things to resolve but to no avail.

    Hi Laurie,
    As per my understanding, Excel display #### character is due to following two reason:
    • The text is too long for the cell at its current width.
    • Value is out of data type range.
    In your case, the issue may cause by the cell width is too short. Please make sure it has enough cell width when we design report in SSRS.
    If the issue is persist, please elaborate the issue for further investigation.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Creating a custom java module for excel to xml conversion.

    Hi Gurus,
    I am creating a custom java module in sap nwds 7.3 for Excel to XML Conversion. But I am getting following error
    Classpath dependency validator message.
    Classpath entry  will not be exported or published. Runtime ClassNotFoundExceptions may result. 
    I imported the Jars from a different PI system and i am using NWDS in local PC with creating a separate folder with all JARs and also imported them using build path option.
    This issue is occuring for all the jars imported.
    I am using following code.
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import java.util.HashMap;
    import jxl.Cell;
    import jxl.Workbook;
    public class JavaMappingExcelToXML implements StreamTransformation{
    private Map map = null;
    private AbstractTrace trace = null;
    public void setParameter(Map arg0) {
    map = arg0; // Store reference to the mapping parameters
    if (map == null) {
    this.map = new HashMap();
    public static void main(String args[]) { //FOR EXTERNAL STANDALONE TESTING
    try {
    FileInputStream fin = new FileInputStream ("c:/ashu.xls"); //INPUT FILE (PAYLOAD)
    FileOutputStream fout = new FileOutputStream ("C:/Users/ashutosh.a.upadhyay/My Documents/ashuXML2.xml"); //OUTPUT FILE (PAYLOAD)
    JavaMappingXLStoXML mapping = new JavaMappingXLStoXML ();
    mapping.execute(fin, fout);
    catch (Exception e1) {
    e1.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream) {
    String msgType = "Message Type name will come here";
    String nameSpace = "Namespace Name will come here";
    String xmldata = "";
    try {
    Workbook wb = Workbook.getWorkbook(inputstream);
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\n">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++){
    xmldata = xmldata+"\n<Record>\n";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++){
    xmldata = xmldata+"\t<"+cellNames[i].getContents()+">"+cells[i].getContents()+"</"+cellNames[i].getContents()+">\n";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata+"\n</ns0:"+msgType+">";
    System.out.print(xmldata);
    xmldata.getBytes();
    wb.close();
    byte by[] = xmldata.getBytes();
    outputstream.write(by);
    inputstream.close();
    outputstream.close();
    System.out.println("\n"+"File processed");
    catch (Exception e) {
    e.printStackTrace();
    Request you to guide how to resolve this issue.
    Thanks  in advance

    Hi Gurus,
    I am creating a custom java module in sap nwds 7.3 for Excel to XML Conversion. But I am getting following error
    Classpath dependency validator message.
    Classpath entry  will not be exported or published. Runtime ClassNotFoundExceptions may result. 
    I imported the Jars from a different PI system and i am using NWDS in local PC with creating a separate folder with all JARs and also imported them using build path option.
    This issue is occuring for all the jars imported.
    I am using following code.
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import java.util.HashMap;
    import jxl.Cell;
    import jxl.Workbook;
    public class JavaMappingExcelToXML implements StreamTransformation{
    private Map map = null;
    private AbstractTrace trace = null;
    public void setParameter(Map arg0) {
    map = arg0; // Store reference to the mapping parameters
    if (map == null) {
    this.map = new HashMap();
    public static void main(String args[]) { //FOR EXTERNAL STANDALONE TESTING
    try {
    FileInputStream fin = new FileInputStream ("c:/ashu.xls"); //INPUT FILE (PAYLOAD)
    FileOutputStream fout = new FileOutputStream ("C:/Users/ashutosh.a.upadhyay/My Documents/ashuXML2.xml"); //OUTPUT FILE (PAYLOAD)
    JavaMappingXLStoXML mapping = new JavaMappingXLStoXML ();
    mapping.execute(fin, fout);
    catch (Exception e1) {
    e1.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream) {
    String msgType = "Message Type name will come here";
    String nameSpace = "Namespace Name will come here";
    String xmldata = "";
    try {
    Workbook wb = Workbook.getWorkbook(inputstream);
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\n">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++){
    xmldata = xmldata+"\n<Record>\n";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++){
    xmldata = xmldata+"\t<"+cellNames[i].getContents()+">"+cells[i].getContents()+"</"+cellNames[i].getContents()+">\n";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata+"\n</ns0:"+msgType+">";
    System.out.print(xmldata);
    xmldata.getBytes();
    wb.close();
    byte by[] = xmldata.getBytes();
    outputstream.write(by);
    inputstream.close();
    outputstream.close();
    System.out.println("\n"+"File processed");
    catch (Exception e) {
    e.printStackTrace();
    Request you to guide how to resolve this issue.
    Thanks  in advance

  • Automatically removed from group conversation for being idle?

    Where I work, we have a group/team conversation for people to ask questions, make comments, share information, etc.
    In the past few weeks I have noticed that I have been being removed from this group conversation.  Find the message "You have been removed from this conversation."
    I usually start this conversation but leave permission open for everyone so anyone can add people as they come in for later shifts.  I know it's possible to right click on a person's name and remove them from the conversion.
    When this started happening, I researched how to stop it from happening and found that if I changed the permissions to me alone, I am not removed from the conversation.
    My questions are: does Lync automatically remove a person from a conversation if they are idle for a certain amount of time?  If so, what is the time frame?  Does just that person have to be idle or the entire conversation?
    Essentially, I'm trying to find out if some person is actively removing me or if it's some automatic setting within Lync.

    Yes there is a timeout, it's per person but mostly the entire conversation though due to "sending or receiving and instant message.  You can't easily turn it off, but you can change the value a bit.   See set-csclientpolicy setting
    ConferenceIMIdleTimeout.
    http://technet.microsoft.com/en-us/library/gg398300.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Create an NSString for number in scientific notation from double?

    Hi
    Given a double, I want to create a string in scientific notation.
    e.g for a double with a value of 123.456, I want the NSString to be "1.23456e+2" for entering in to a UITextField.
    I've looked through the docs but can't find a formatter. (There is mention of "%a" being scientific format, but it produces hex output.)
    Thanks for any clues.
    Steve

    Here, you should find what you are looking for:
    http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Strings/Ar ticles/FormatStrings.html#//apple_ref/doc/uid/20000943
    http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Strings/Ar ticles/FormatStrings.html#//apple_ref/doc/uid/20000943
    http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/ Classes/NSStringClass/Reference/NSString.html#//appleref/occ/clm/NSString/stringWithFormat:

  • How to prevent display in scientific notation

    I want to convert a large double value to a string,
    but when the value is greater than 10000000 , it will display in
    scientific notation , such as 3.435E8
    However, how can I convert it automatically to 343500000 because
    there is an interface program which do not accept the scientific
    notation format
    Thanks in advanced

    Start here: http://java.sun.com/j2se/1.4/docs/api/java/text/NumberFormat.html

  • Prevent automatic picking for delivery

    HI Experts
    Dispite not having condition record for WMTA, automatic picking is happened for my delivery for STO.
    OvrllPickStatus   C   Fully picked
    OverallWMStatus   B   Open transf ord item
    Kindly advise how to prevent this.
    warm regards
    ramSiva

    First of all, I dont understand what do you mean by WMTA.  Nevertheless, in standard, either you can activate picking or deactivate picking via 0vlp.  Even if you activate, you have to key in manually the picking quantity and system will NOT fetch automatically.
    If the system has fetched automatically in your case, then check whether any delivery exit is in place.
    G. Lakshmipathi

  • Whenever I open a file in Lion, other files of the same sort that I opened previously automatically open up. For example, if I open a .jpg file, numerous other .jpg files that I opened previously in the day open up. How do I prevent this from happening?

    Whenever I open a file in Lion, other files of the same sort that I opened previously automatically open up. For example, if I open a .jpg file, numerous other .jpg files that I opened previously in the day open up. How do I close these files to prevent them from showing up again, like in previous versions?

    Dealing With The Resume Feature of Lion
    Managing Mac OS X Lion's application resume feature.
    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.
    It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
    If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
    chflags nohidden ~/Library
    Press RETURN. Quit the Terminal application.
    In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
    Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
    The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

  • Hot to prevent automatic email tracking for replies of tracked email

    We use CRM Outlook client so that user manually tracks emails to CRM if he will. Emails should never be automatically tracked. Now, even if no automatic tracking for emails is enabled, replies for tracked emails are automatically tracked. How can I
    prevent automatic tracking of reply email?

    All the replies on tracked emails will be tracked by default.
    If you wish to untrack, you need to hit the untrack button.
    Karishma

  • Prevent large numbers from becoming scientific notation on CSV import

    Hi, I'm importing contacts in a .CSV file into iWork Numbers and it takes a 12-digit phone number from a guy in the UK and turns it into scientific notation. So something like 447729803988 becomes 4.4772E+11 which obviously loses some important digits. Is there a way to force Numbers to treat all fields as text on import so it doesn't drop this critical data? thanks
    Sean

    scrollin,
    Your digits are all there. Just format those cells to either Text or Number. Leading zeros do tend to get lost unless you pre-format to text. You can force the cell format to text on the fly by prefixing your input with a single-quote.
    Regards,
    Jerry

Maybe you are looking for

  • CS6 not recognizing plugins

    I installed plugins for CS6(64bit) in Program Files/Adobe/Adobe Photoshop CS6 (64 Bit)/Additional Plug-ins  and nothing!  CS6 doesn't recognize it, namely "dofpro.8bf" and it's companion file "convert.exe".  I have verified that the above path is in

  • Application (OS 9) is this required

    Hi, Been doing some spring cleaning on my HD, and noticed i never use this (Application OS 9) does it matter if i delete this folder as its taking up precious space. Do any applications actually use it. Cheers Jason

  • Waste Management for Agre Products business

    Hi.. Experts my one client is in Agri Products. He buys raw material.e. rice, nuts etc in kilos and then process it . During Process, some raw material goes to waste. for example one bag of 100 KG becomes 97 KG after processing. but it is not trackab

  • Add picture styles

    Add new picture styles made by Canon or a way to import picture styles files in LR http://web.canon.jp/imaging/picturestyle/file/index.html

  • 10.4.7 Application launch failures

    There are problems with 10.4.7. Intel. Since updating I have had recurring problems launching various applications. Photoshop CS was the first that I noted. I have also had problems with Pages, Omnis Studio and SnapMail. The applications icon will bo