Convert scientific notation value into normal number

hi,
I am importing excel(.csv) file into Oracle database, a value in excel file 8.70773E+11 is displaying in scientific notation format, i want to store it like 870772521002.

i have already run this query, it gave me 871000000000.0000000000 this result.
Table Structure,
SQL> desc cdr;
Name Null? Type
INVOICENO VARCHAR2(50)
OCEANREGION NUMBER
CALLDATE DATE
CALLTIME VARCHAR2(10)
ORIGINATORNO                             VARCHAR2(50)
SUBSCRIBER VARCHAR2(75)
DESTNO VARCHAR2(50)
VOLUME FLOAT(50)
UNIT VARCHAR2(5)
this above Originatorno field had Number data type, but it wasnt working.

Similar Messages

  • Converting scientific notation string to number?

    This is raising an error:
    > ToNumber (u201C2.75E-05u201D)
    How do you convert scientific notation strings to numbers?
    This is coming from XML. I can probably have the XML written so that it's not scientific notation.
    Tim

    Here's a not-so-pretty way:
    Local StringVar Array x;
    Local StringVar mantissa;
    Local StringVar exponent := "0";
    // Split into mantissa and exponent parts.
    x:= Split("24.2233E+2", "e", 2, 1);
    mantissa := x[1];
    If (UBound(x) = 2)
    Then
        exponent := x[2];
    // CDbl cannot interpret leading positive sign, so removie
    If Left(mantissa, 1) = "+"
    Then
        mantissa := Right(mantissa, Length(mantissa) - 1);
    If Left(exponent, 1) = "+"
    Then
        exponent := Right(exponent, Length(exponent) - 1);
    // Compute number
    CDbl(mantissa) * 10 ^ CDbl(exponent);
    Sincerely,
    Ted Ueda

  • Convert Scientific Notation to Float

    Hello
    How can we convert Scientific notation to float.
    e.g.
    1.23E-3(string) as  0.00123(float)
    Thanks
    Solved!
    Go to Solution.

    Use Fract/EngStringToNumber. Or ScanFromString with format %f…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to convert a boolean expression into a number in SQL (not PL/SQL)

    I have a boolean expression
    FIELD IN (SELECT FIELD FROM TABLE)
    which I would like to convert into a number, preferably into 0 for true and into 1 for false. The reason being that I want to sum the values in a HAVING clause.
    I have tried with DECODE, SIGN, TO_NUMBER, but all fail with an error message to the order of wrong type of argument.
    Does anyone have an idea?
    /poul-jorgen

    Hi, you can do it with case if you have Oracle 9i
    Regards
    Laurent
    select case when dummy in ('X') then 1 else 0 end from dual;

  • Display Scientific Notation values in columns

    Hi,
    I have a column in a table that apparently displays the values in
    Scientific Notation. That is, the value in each column is always
    displayed as "6.4211E+15". Each value in this column should be a
    unique or different value. If I type "select * from <table_name>
    where <column_name> != 6.4211E+15;", I still get every row in
    this table. Is there a way to display the full value of this
    column so that I can view the unique value for each of these
    rows? If so, how does one accomplish this?
    Thank you,

    Welcome to SDN.
    do you mean to say that in some rows some column values will be blank and you want to replace the blanks with '-'.
    loop thru the itab which you are passing to tableview and for the blank cells pass '-'.
    <i>Also when the value is inserted at run time</i>
    so you are having editable tableview. to update the value back to the dbtable, you have to read it in oninputprocessing and update it to dbtable .
    search the forum on how to read the user entered value from the table view so that you can update the dbtable.
    Regards
    Raja

  • Need to convert a binary value into decimal

    Hi i need to convert a binary value which i would be getting as a string object to a decimal value......need code for the same

    Check Integer.parseInt
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Integer.html#parseInt(java.lang.String,%20int)

  • Converting 11 digit value into 18 digit value by filling from left to right

    Hello Experts,
    I'm a newbie in ABAP-coding. I didn't found anything in the forum, so I'm sure somebody could give a little help. I would like to concatenate value into field name "mat". The input length is 11 the output length should be 18. Could you please look at the code belove:
    data: c1(7) value '10000002',
          c2(3) value '001',
          c3(1) value '0',
          mat type /BI0/OIMATERIAL.
    CONCATENATE c1 c2 c3 into mat.
    write mat.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT     = mat
    IMPORTING
       OUTPUT     = mat.
    But is not giving me the correct result. I've defined a field "mat" which has the same proerty as 0MATERIAL and length = 18.
    After concatenating values into mat, the result should be 10000002001 (length = 11).
    But I would like the result to be showing from left to right in this way: 000000010000002001 (length = 18)
    Could somebody tell where the problem could be?
    Many Thanks
    Mamadou

    The probelm appears to be with
    mat type /BI0/OIMATERIAL.
    I changed it to
    MAT(18)
    and got
    000000010000000010
    Rob

  • How to convert a date value into week value?

    How to display the date value like '20010203'
    into the week number of the year 2001?
    When i type in the following sql
    select week(chg_time) from site;
    I got this error message
    ORA-00904: invalid column name

    use the to_char function, to format the date into a week number (then you might need to convert that to a number using to_number)
    select to_char( sysdate, 'WW') from dual`
    a description of datetime formats: http://download-west.oracle.com/otndoc/oracle9i/901_doc/server.901/a90125/sql_elements4.htm#48515

  • How do I count and display events every few seconds and then convert the counted values into events per minute? (for a heart rate monitor)

    Hi everyone,
    I'm building a heart rate monitor as a final year project with my lab partner using the NI USB-6009 and Labview 2009. We have managed to obtain a signal using a photo transciever, smooth it out and count the events, however the count is incremental.
    We wish to count the number of pulses we obtain for a few seconds (5-10 for example) and then use this value to obtain a pulse rate in beats per minute (e.g. 10 pulses in the first 10 seconds would give an estimated BPM of 60 etc etc).
    Does anybody have ides on how we could implement this? We have tried timed loops, elapsed time VI's and other things but nothing gives us what we need.
    Thanks in advance for any help that is offered.
    Jeshua Graham.

    We are very new to Labview. We are taking a raw signal from our DAQ and then using VIs to filter and then trigger counts on rising edges. I have attached our vi file to this post for you to look at (I hope that is what you mean by code).
    Attachments:
    TCRT-1010DAQ_jeshua1.vi ‏367 KB

  • Reg: Convert the currency value into word formate.

    HI all,
    Is there any FM to convert the currency into word formate.
    Ex: 210
    o/p: two hundreden twenty ruppes..

    Hi,
    Try
    SPELL_AMOUNT
    also HR_IN_CHG_INR_WRDS
    Regards,
    Sachin

  • How can I convert multiple hidden files into normal files at once?

    I have a folder with a few hundred hidden files that I no longer want hidden.  If I were to change each file separately it would take hours to finish. I was hoping that there was some way to convert all of these files at once with the terminal. Can anyone offer a solution? Thanks.

    Can anyone help?

  • How to convert Bex Analyser report into normal MS Excel sheet

    Hi,
    I created query in Bex Analyser. Now, I want to send this copy as a normal MS Excel document through mail.
    When I tried save as and send a copy, It is showing the filter,table, information buttons and appearing same as bex report.  I would like to see normal excel sheet when it opens.
    Is there any way except copy & paste.
    Any help would be appreciated.
    Thanks,
    Aparna.

    Hi Chandu,
    I followed same procedure as you said. I created one node for SMTP in SAP connect:Administration(SCOT).
    I gave destination as RFC destination -> BWDCLNT -> Internet -> enter mail address...etc as per system requirements.
    Once I executed, It is showing "No message sent". Did I miss any steps to follow...
    Can you give me step by step procedure to follow.
    In our Bex tools, Only Broadcaster was disabled. If I configure mail server, may be it enable?
    Your help would be appreciated.
    Thanks,
    Aparna.

  • Convert Scientific Notation to Numeric (ABAP)

    I am currently consuming a WebService from XIgnite, that is returning a 7.5863900E-01 and I need to update the TCURR (Exchange Rate table) with .758639. 
    I need an ABAP example to use to place within the program that is importing the data for exchange rates.
    Thanks.

    try this:
    DATA: W_EXPO TYPE QPMK-SOLLWERT,
          W_PCKDECI(16)  TYPE P DECIMALS 3.
    MOVE : '7.5863900E-01' TO W_EXPO,
           W_EXPO TO W_PCKDECI.

  • How to convert waveform into complex number

    Hi,
    I need to convert the acquired voltage and current waveform through DAQ card into complex numbers in order to find the phase relationship
    between the waveform.Can u tell me is there any method to convert the acquired waveform into complex number array
    or is there any other method to find the phase??
    please help me in this
    Regards
    Meenatchi

    Dear Meenatchi,
    I am attaching two sample VI s for the issue you are facing. Hope this helps.
    The waveform in array format.vi gives you the values of the waveform obtained from your DAQ card in an array directly. You can choose this mode by selecting it from the options available on the DAQmx read vi. But if you still want to extract the array from the waveform data type please navigate to programming >> waveform >> get waveform components and extract the array component.
    The phase of the complex number created.vi gives you and array of the phases. Please specify the number of iterations of the for loop that determines the size of the array.
    If you need any further assistance, please feel free to contact us.
    Regards,
    Pavan Ramesh
    Applications Engineer
    NI India
    Attachments:
    Waveform array issue.zip ‏10 KB

  • DecimalFormat scientific notation if necessary

    I would like to find a way to output a double value in a way that uses scientific notation only if the number of digits output would be at least 15. For instance, the value 12345000000000000 should be output as 1.2345E16, but 12345000 would not be output in scientific notation (and the same logic if the value is < 0). Is this possible with the DecimalFormat class?
    I tried using String.format("%.15g", value), but that always displays trailing 0s to fill the significant digits (e.g. 12.345 outputs "12.3450000000000"). I don't want it to output the trailing 0s.

    I would like to find a way to output a double value
    in a way that uses scientific notation only if the
    number of digits output would be at least 15. For
    instance, the value 12345000000000000 should be
    output as 1.2345E16, but 12345000 would not be output
    in scientific notation (and the same logic if the
    value is < 0). Is this possible with the
    DecimalFormat class?
    I tried using String.format("%.15g", value), but that
    always displays trailing 0s to fill the significant
    digits (e.g. 12.345 outputs "12.3450000000000"). I
    don't want it to output the trailing 0s.With DecimalFormat ( http://java.sun.com/j2se/1.5.0/docs/api/java/text/DecimalFormat.html )
    you can format the number in scientific notation but to control which numbers are formatted I think you must write some sort of if else

Maybe you are looking for

  • Keep hp 6700 in good shape: automatic print quality diagnostic page every week?

    Hi all, I've recently bought the HP Officejet 6700 Premium, and I'm concerned about keeping it in good condition, since I had to replace my previous canon printer because of a stuck printhead (the photo black one, I didn't used it for a long time). S

  • Backed up itunes library from old comp-movies and tv episodes will not transfer to new computer.. help please

    Hi. I bought a new computer due to several problems with my old one. I backed up my old itunes library on an external harddrive however while my music and apps transfer flawlessly itunes completely ignores me when i click on the movie files and/or fo

  • How to judge AR lines are for installment

    Dear gurus, When post document from FB01 or release billing doc to FI, if the payterm is installment, the line will be split. For example, payterm zt00 is installment and made of zt01 and zt02, when posting, line for zt00 will be split to line for zt

  • BeforeReport trigger not firing

    I'm sure I'm just not using this right, but I can't for the life of me figure out how to get a simple beforeReport trigger to fire. I've created a function that just inserts in to a test table to see if it's working, and then returns a true. I've set

  • HT5429 when u will fix IOS 6 Maps?

    maps is not working in india.. its not showing me directions between any two places.. but maps of IOS 5.1.1 it works correctly.. and know in google maps its also working correctly so why not in IOS 6 maps..??? what are u doing guyz..?? just for givin