Convert a column in Numbers that is currently in HH:MM format to decimal format.

I need to Convert a column in Numbers that is currently in HH:MM format to decimal format.  IE 6:30 to 6.5

Rj,
There are two possibilities here. Your HH:MM could be a Date/Time value or a Duration.
Let's assume your data is in Column A.
If it's a Date/Time value, do the conversion with the expression:
=TIMEVALUE(A) * 24
If it's a Duration value, do the conversion with the expression:
=DUR2HOURS(A)
In both cases, remember to Format the result to Number with at least one decimal place.
Regareds,
Jerry

Similar Messages

  • ORA-01722: invalid number - when last column has numbers that has a decimal seperator

    Below is the sample data -
    FRT,1.64,VAT,23.36
    FRT,1.64,VAT,23.36
    When I try to convert 1.64 to to_number all is good but when I do the same with 23.36 I get the following error
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-01722: invalid number
    ORA-06512: at "SYS.ORACLE_LOADER", line 52
    I tried this query as well
    select to_number(CONSIGNMENT_NET_VALUE) as Col1 from DUMP_EXT
    select to_number(CONSIGNMENT_NET_VALUE,'9999999999D99999','NLS_NUMERIC_CHARACTERS='',.''' ) as Col1 from DUMP_EXT --> 268906.1
    getting the same error - any help greatly appreciated.
    T.
    Srini

    Hi,
    You can check this test case
    SQL> !cat a.txt
    FRT,1.64,VAT,23.36
    FRT,1.64,VAT,56.36
    FRT,1.64,VAT,23.36
    SQL> create table DUMP_EXT
        Charge_ID_FRT VARCHAR2(50),
        Net_Amount_VAT VARCHAR2(50),
        Charge_ID_VAT VARCHAR2(50),
        Consignment_Net_Value VARCHAR2(50)
    ORGANIZATION EXTERNAL
        (TYPE ORACLE_LOADER
        DEFAULT DIRECTORY DATA_DD_DIR
        ACCESS PARAMETERS
            (RECORDS DELIMITED BY '\n'
            SKIP 1
            BADFILE 'bad_%a_%p.bad'
            LOGFILE 'log.log'
            FIELDS TERMINATED BY ','
            MISSING FIELD VALUES ARE NULL
            REJECT ROWS WITH ALL NULL FIELDS
                Charge_ID_FRT CHAR(50),
                Net_Amount_VAT CHAR(50),
                Charge_ID_VAT CHAR(50),
                Consignment_Net_Value CHAR(50)
        LOCATION ('a.txt')
    reject limit 0;
      2    3    4    5    6    7    8    9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28 
    Table created.
    SQL> select charge_id_frt,net_amount_vat,charge_id_vat,consignment_net_value from dump_ext;
    CHARG NET_AMOUNT_VAT                                     CHARG CONSIGNMENT_NET_VALUE
    FRT   1.64                                               VAT   56.36
    FRT   1.64                                               VAT   23.36
    --- Get Error here
    SQL> select to_number(CONSIGNMENT_NET_VALUE,'99D99','NLS_NUMERIC_CHARACTERS='',.''' ) as Col1 from DUMP_EXT
      2  /
    select to_number(CONSIGNMENT_NET_VALUE,'99D99','NLS_NUMERIC_CHARACTERS='',.''' ) as Col1 from DUMP_EXT
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-01722: invalid number
    -- Check the Variable at DB level
    SQL>   SELECT value   FROM NLS_DATABASE_PARAMETERS  WHERE parameter='NLS_NUMERIC_CHARACTERS';
    VALUE
    -- Use the Query like
    SQL> select to_number(CONSIGNMENT_NET_VALUE,'99D99','NLS_NUMERIC_CHARACTERS=''.,''' ) as Col1 from DUMP_EXT;
          COL1
         56.36
         23.36
    HTH

  • Can you create forms that automatically calculate columns of numbers? Example of such form would be

    I am trying to recreate a loan application form which includes several columns of numbers which need to totaled, currently we are using a Word document, but are starting to find that it is cumbersome and very limiting. It was suggested that we check out Adobe forms as a possible solution.

    In FormsCentral, you can use formulas in the response table to add together values in a response. For an example of this, you can fill out this form:
    https://adobeformscentral.com/?f=nAo5QQeg5J2NDfXYlZW4fw
    And you can see the response table for that form here:
    https://formscentral.acrobat.com?d=nAo5QQeg5J2NDfXYlZW4fw
    I've created two columns that use different labels to add together the number fields in the form. You can mouse over a cell in those columns to see the formulas used.
    Hope that helps!

  • I have an Icloud account with my parents but want to make a new one. Will I lose everything that is currently on my phone? i.e. phone numbers, pictures, music

    I have an Icloud account with my parents but want to make a new one. Will I lose everything that is currently on my phone? i.e. phone numbers, pictures, music

    In case you're not clear - iPad/iPhone storage, and iCloud storage, are totally separate. Buying more iCloud storage does not give you more storage space on your device. Your device has a fixed storage space for apps and data (e.g., 16GB - which is more like 12GB in real terms). iCloud storage just allows you to store more documents, mail, photos, etc, in the cloud.
    Matt

  • Newbie trying to convert this to use numbers from excel

    I am fairly new at this and have not worked with numbers at all but the problem I have is that I do not have Excel on all my Mac's and this needs to work with Numbers.
    it is a basic copy and paste based on a particular tab in Safari and another in numbers
    ie.. i want to copy content from a specific safaritab()  to a specific tab in numbers by name.. this works perfectly with using excel (took forever for me to piece together) but I am struggling to convert to use in numbers instead.  any help would be most appreciated.
    this is the working code for using excel that i wish to convert to use numbers instead.
    #Code begin
    tell application "Safari" to launch
    tell application "Safari" to activate
    useSafariTab(3)
    copyDataB()
    tell application "Microsoft Excel"
    activate
    activate object workbook "SpreadSheetA"
    activate object sheet "DesiredTabName"
    clear range range "A:Z"
    select cell "a2"
    end tell
    pasteDataA()
    on useSafariTab(a)
    tell application "Safari"
    set thisTab to tab a of window 1
    set current tab of window 1 to thisTab
    delay 1
    end tell
    end useSafariTab
    on copyDataB()
    tell application "System Events"
    delay 1
    keystroke "a" using {command down}
    delay 3
    keystroke "c" using {command down}
    delay 5
    end tell
    end copyDataB
    on pasteDataA()
    tell application "Microsoft Excel"
    activate
    activate object workbook "SpreadSheetA"
    delay 2
    end tell
    tell application "System Events"
    keystroke "v" using {command down}
    delay 5
    end tell
    end pasteDataA
    #Code end

    In Numbers the hierarchy is document, sheet, table, range whereas in Excel the table isn't required.  So for pasteDataA() try this:
    on pasteDataA()
      tell application "Numbers"
      tell document "SpreadSheetA.numbers"
      tell sheet "DesiredTabName"
      tell table 1 -- or table name if you have one
      set selection range to cell 2 of column 1
      delay 2
      end tell
      end tell
      end tell
      end tell
      tell application "Numbers"
      activate
      tell application "System Events"
      keystroke "v" using {command down}
      delay 2
      end tell
      end tell
    end pasteDataA
    I didn't clear the range first but assume you will be able to work that out. Remember you need to specify the table when you do that.
    SG
    P.S. Note use of the .numbers suffix when specifying the document, if named.  Otherwise you can use document 1 or front document.

  • SQL syntax error different between enviroments after converting to column store indexes

    We have two 'identical' SQL boxes with SQL 2012 enterprise edition installed.  In our Developer enviroment only, we just converted to Column Store indexes. Now when we run this SQL, we get the following error message, ONLY in the Dev enviroment
    SELECT DISTINCT RatingDescription
    FROM Rating
    where RatingDescription > 1
    Msg 245, Level 16, State 1, Line 2
    Conversion failed when converting the varchar value 'No Rating Needed' to data type int.
    However, this SQL works in our production enviroment and the prod enviroment has the same data and schema as DEV.  As soon as we disable the column store index on the dev box, the SQL works without any problems.  Is this a known feature or bug
    that anyone knows about?
    Additional info:
    The RatingDescription field is a varchar(100) and contains numbers and text.
    Current SQL server editions on both servers:
    Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) 
    Enterprise Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )

    So I need to amend my statement. 
    This statement does fail as everyone is saying:  
    SELECT DISTINCT RatingDescription
    FROM Rating
    where RatingDescription > 1However, this statement does not failSELECT DISTINCT RatingDescription 
     FROM Rating 
     where RatingDescription > 1
     AND analystName = 'Bob'I left out the analystName critiera because I didnt think it mattered but clearly it allows the SQL to run because Bob has no text for ratings. However my finding are still true, that this exact SQL runs successfullywhen I disable the CS index, and as soon as I enable/rebuild it it fails with the message Conversion failed when converting the varchar value.

  • How can I read a column of numbers saved as .txt and display as a wave?

    Hi Tiano
    LabVIEW General
    Ask:
    Please enter a one-line summary of your question
    Resources
    • Technical Support
    • Development Library
    • Measurement Encyclopedia
    "data/time reading into chart"
    "In the attached file, I am trying to read the first column of data, and the next column is the value on the x-axis I want it plotted at. How do I read two columns of different data? I have looked in the books I have access to and the help within Labview but am still having trouble.
    Thank you,
    Ellie"
    data_set (Plain Text, 3K)
    -posted by Ellie on 9/11/2001
    markwysong on 9/11/2001 answered:
    "Ellie,
    The first thing you need to do is to read your file in as a spreadsheet file. Then, you display it in a chart.
    That sounds simple, but looking at your dataset, there's a few things you should know. First, the "read from spreadsheet VI" is looking for data in columns, like your data set, but columns separated by tabs. Therefore, your data must be saved that way; currently, it doesn't seem that it is. Another thing; you must skip the header portion (labels) of your file when reading.
    Next, it would be easier if your time was first, and your data was second in your columns, but that can be overcome. In the VI I am including, I have copied your data set into a file called data.txt, and I've removed the header and separated the columns with a tab. Then, I read in the data, and I break out each column so I can put the time first, and then I combine them again into a cluster so it can be displayed on an XY chart.
    Take a look!
    Mark"
    Graph data from file (Binary Executable, 20K)
    data.txt (Plain Text, 3K)
    This answer has not yet been rated.
    Rate this answer:
    Mikael Garcia on 9/11/2001 answered:
    "Ellie,
    Here is one way of doing it. Take a look at this example (compatible with LabVIEW 4.1 and up) and post comments if you need further help. Basically, I read your file as text; split it; and make use of the Spread sheet string to Array function before I plot your data. Hope this helps./ Mikael"
    ExtractAndPlot.vi (Binary Executable, 36K)
    This answer has not yet been rated.
    Rate this answer:
    Ellie on 9/12/2001 commented:
    "Thank you. I am trying to get the data from the text file into a string and am having some trouble. I am reading the file from a spreadsheet, and sending the output array to "Array to Spreadsheet String", but I'm not sure this is what I want to do. Is there another way to make an array into a string? Do I need to reformat my data?
    Can you offer me any advice?
    Thank you."
    data_1 (Plain Text, 3K)
    Mikael Garcia on 9/12/2001 commented:
    "I noticed that you changed your file format according to what was said here. Yes, this new file of yours is easier to use but your original file does not have to be changed. Take a look at this example. I now added the file-read part. It will give you a dialog to locate your data file (use this VI with your original file with the header since this VI includes a string split function). Hope this helps. /Mikael"
    ReadExtractandPlot.vi (Binary Executable, 35K)
    Niko on 9/12/2001 answered:
    "If you read this file with the "read from spreadsheet file.vi" you get you
    data in a 2-D-array. Now it is easy with array- and cluster-functions to
    handle the data the way you want.
    hope that helps, Niko"
    This answer has not yet been rated.
    Rate this answer:
    I intend to read from a .txt file that contains a column of numbers. After reading I want to display it as a waveform. In fact the numbers represent points along a waveform/graph of Flow vs. time. Thus I want to have this info in the chart or graph with flow in the y0axis and time in the x-axis. Can someone give me some detailed help please? Thank you in advance.
    Attachments:
    The_file.txt ‏18 KB

    All you have to do is use Read From Spreadsheet File.vi that's on the File I/O palette. For your example .txt, set the Transpose input to true and wire the First Row output to a waveform graph. The only problem I see is that since your file doesn't contain any sampling info, the time axis will be relative. If have that information elsewhere, then you can put a build waveform function between the read and the graph. Wire the First Row output to the Y input Build Waveform and add t0 and dt values. I've attached an example.
    Attachments:
    Graph_from_text.vi ‏29 KB

  • Creating charts that represent current year in Months in order to show YTD performance by month

    I continue to struggle with what, to me, seem to be the simplest things in SSRS.  I have spent over two days trying desperately to get a chart to properly show the quantities of Manufacturing Orders that we have made each month, Year To Date. 
    Below is the closest I’ve been able to come and the axis is still off by one month and not in sync at all with my data. 
    Then when I run the report for other part numbers, that only have MO’s in say two months (Jan & Jun), they don’t even behave scalar and I get the following screwed up mess.  Notice the two columns have decided to fill most of the scale and they
    did not skip the four months between Jan and Jun and they also are completely out of sync with my scalar x-axis!
    My goal is to create a chart that can be run for any part number on any day and show how many times it has been built during the current calender year.  Chart should always show months of current year starting Jan on left and ending with Dec on
    right (even if I am running report in February for example).  Then for each month that we have data, it should show the QTY on the column chart and leave blank columns for months with no data.
    Can anyone help me with this? 
    Chris

    Hi Chirs,
    From your desription, you want to createa a chart to show all the months on the chart no matter it has data on that month or not, rigth? If in this case, we can create an other dataset to show all the month, and then use the lookup function to get the month
    QTY. The steps below are for you reference.
    Create an other dataset use the query below.
    DECLARE @TMP TABLE (Month nvarchar(20),QTY INT)
    INSERT @TMP SELECT 'Jan',0
    INSERT @TMP SELECT 'Feb',0
    INSERT @TMP SELECT 'Mar',0
    INSERT @TMP SELECT 'Apr',0
    INSERT @TMP SELECT 'Mat',0
    INSERT @TMP SELECT 'Jun',0
    INSERT @TMP SELECT 'Jul',0
    INSERT @TMP SELECT 'Aug',0
    INSERT @TMP SELECT 'Sep',0
    INSERT @TMP SELECT 'Oct',0
    INSERT @TMP SELECT 'Nov',0
    INSERT @TMP SELECT 'Dec',0
    SELECT * FROM @TMP
    Drag [Month] filed to Category Groups and drag [QTY] field to Values.
    Then change the of [QTY] to:
    =Lookup(Fields!Month.Value,Fields!Month.Value,Fields!QTY.Value,"DataSet1")
    The report looks liek below.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • How do I include those empployee numbers that are not 8 digits?

    Hello all again.
    My script currently doesn't find those employee numbers that are NOT 8 digits (some emp nos are 6, 7, 9) when doing comparisons. I've tried LPAD but it still doesn't find. Can anybody suggest a reason for this? I can post my whole script if you want but basically it doesn't match record in my temp table (SU_TEMPLOYEE_DETAILS):
      SELECT std_hire_date, std_last_name, std_sex, std_date_of_birth,
                 std_email_address, std_emp_status,
                 LPAD (std_employee_number, 8, '0') std_employee_number,
               --  std_employee_number,
                 std_first_name, std_marital_status, std_middle_names,
                 std_nationality, std_title, std_national_identifier,
                 std_address_line1, std_address_line2, std_address_line3,
                 std_address_line4, std_post_code, std_telephone_1, std_country,
                         std_location_id,         LPAD (std_supervisor_number, 8, '0') std_supervisor_number
          FROM   SU_TEMPLOYEE_DETAILS
           WHERE  std_employee_number = :p_emp_number..with the existing record in Production instance:
                 SELECT DISTINCT per.person_id, per.business_group_id, per.last_name,
                          per.start_date, per.date_of_birth, per.email_address,
                         --LPAD (per.employee_number, 8, '0') employee_number,
                        per.employee_number,
                          per.first_name,
                          per.marital_status, per.middle_names, per.nationality,
                          per.national_identifier, per.sex, per.title,
                          padd.address_id, padd.primary_flag, padd.address_line1,
                          padd.address_line2, padd.address_line3,
                          padd.town_or_city, padd.postal_code,
                          padd.telephone_number_1, paas.assignment_id,
                          paas.assignment_number, paas.object_version_number,
                          paas.effective_start_date, paas.effective_end_date,
                          paas.job_id, paas.position_id, paas.location_id,
                          paas.organization_id, paas.assignment_type,
                          paas.supervisor_id, paas.default_code_comb_id,
                          paas.set_of_books_id, paas.period_of_service_id
                     FROM per_all_people_f per,
                          per_all_assignments_f paas,
                          per_addresses padd
                    WHERE padd.person_id(+) = per.person_id
                      AND paas.person_id(+) = per.person_id
                      AND per.employee_number LIKE 'C%'-- :p_emp_number 
                          AND per.national_identifier = :p_ni_number
                          AND  REGEXP_LIKE(per.employee_number, '[[:alpha:]]');The Employee Number is 7 digits long (0000016). But I need the script to match its record where it may be 000016 or 00000016 in Production. Is this possible?
    Many thanks for looking..
    Steven

    JackyWhite wrote:
    My script currently doesn't find those employee numbers that are NOT 8 digits (some emp nos are 6, 7, 9) when doing comparisons. I've tried LPAD but it still doesn't find. Can anybody suggest a reason for this? I can post my whole script if you want but basically it doesn't match record in my temp table (SU_TEMPLOYEE_DETAILS):
    The Employee Number is 7 digits long (0000016). But I need the script to match its record where it may be 000016 or 00000016 in Production. Is this possible? I would like to use the TRIM Function here rather than a simple LPAD (with hard coded length) especially if the length of the column std_employee number varies based on the leading zeroes. Something like:
    SQL> WITH test_tab AS
      2       (SELECT '000016' col
      3          FROM DUAL
      4        UNION ALL
      5        SELECT '10000016'
      6          FROM DUAL
      7        UNION ALL
      8        SELECT '00000016'
      9          FROM DUAL)
    10  -- "end of test data "
    11  SELECT col, TRIM (LEADING '0' FROM col) changed_col_2
    12    FROM test_tab
    13  /
    COL      CHANGED_
    000016   16
    10000016 10000016
    00000016 16
    3 rows selected.
    SQL> variable param VARCHAR2(30);
    SQL> exec :param := '00016';
    PL/SQL procedure successfully completed.
    SQL>  WITH test_tab AS
      2        (SELECT '000016' col
      3           FROM DUAL
      4         UNION ALL
      5         SELECT '10000016'
      6           FROM DUAL
      7         UNION ALL
      8         SELECT '00000016'
      9           FROM DUAL)
    10   -- "end of test data "
    11   SELECT col, TRIM (LEADING '0' FROM col) changed_col_2
    12     FROM test_tab
    13    WHERE TRIM (LEADING '0' FROM col) = TRIM (LEADING '0' FROM :param)
    14   /
    COL      CHANGED_
    000016   16
    00000016 16
    2 rows selected.
    SQL> exec :param := '016';
    PL/SQL procedure successfully completed.
    SQL>  WITH test_tab AS
      2        (SELECT '000016' col
      3           FROM DUAL
      4         UNION ALL
      5         SELECT '10000016'
      6           FROM DUAL
      7         UNION ALL
      8         SELECT '00000016'
      9           FROM DUAL)
    10   -- "end of test data "
    11   SELECT col, TRIM (LEADING '0' FROM col) changed_col_2
    12     FROM test_tab
    13    WHERE TRIM (LEADING '0' FROM col) = TRIM (LEADING '0' FROM :param)
    14   /
    COL      CHANGED_
    000016   16
    00000016 16
    2 rows selected.
    SQL> So your where clause will become something like:
    WHERE TRIM (LEADING '0' FROM std_employee_number) =
                                              TRIM (LEADING '0' FROM :p_emp_number)Hope this helps.
    Regards,
    Jo

  • Data tips in column charts - numbers need trimming

    I want to keep the standard data tip format in my column
    charts, but the numbers often look weird - even though the raw
    numbers add up neatly to eg 3 decimal places, the data tip shows
    15! As an example when the total of a column is 49.346, the data
    tip shows "Total: 49.346000000000004". How can I stop this? I can't
    find an example of how to do my own data tip function that
    replicates the standard so I can round the numbers down.
    Thanks.

    Hello,
    Sorry about resurecting an old post, but I'm having the same issue. My original numbers have unknow number of decimals, and when storing them in my ArrayCollection, I was originally using Math.round(myNumber*100)/100 to keep only 2 decimals. To my surprise, chart datatips show some numbers with 10 decimals (38.4899999999 for example).
    I switched to using Number(nfToVal.format(myNumber)), since I already use the same NumberFormatter to display those numbers in a datagrid.
    For info, nfToVal is:
    var nfToVal:NumberFormatter = new NumberFormatter();
    nfToVal.decimalSeparatorFrom=".";
    nfToVal.decimalSeparatorTo = ".";
    nfToVal.useNegativeSign="true";
    nfToVal.thousandsSeparatorFrom="";
    nfToVal.thousandsSeparatorTo="";
    nfToVal.precision="2";
    nfToVal.rounding="nearest";
    Problem still there! Numbers display correctly as strings after being formatted, but get decimals again when converted back to numbers ...
    Any hints ????
    Thanks,
    Olivier

  • Fit columns in Numbers?

    I imported a csv file into numbers for iPad. I changed the font size to make it more readable. With the larger font text no longer fits the current width of the column(s).
    How do I make the text "fit" the columns without manually adjusting the width of each column?

    Numbers > Table > Resize Columns to Fit Content - you need to select the table or group of columns first.
    Sorry... that was for OSX Numbers '09
    For Numbers iOS - you can't each column width needs to be set seperately.
    Message was edited by: bwfromspring hill

  • Table control-change the output of a column. My column shows numbers (char)

    Hello Friends,
    I have in the table control a table. This table show varoius columns , but one column shows numbers. My boss detected that there are showed the numbres but without decimals . for example 10 is showed instead of 10.35. The format of the column is char . How can i change the format to make it appear with decimals? I tried with split in the internal processes. but the problem are the external ones. Because this column is automatically converted to char . what can i do ?
    Thanks!!

    i did not asigned a type char.
    i just referenzed from a field of a matrix table., the machine recognizes this field as char and shows the filed with no decimals at all
    How can i make the decimals to appear?

  • Converting multiple columns into one.

    All,
    I have a requirement to convert multiple columns into one. Following is the pseudo code of current implementation. It unions the various columns ( col1, col2........) into a new column new_col. But perforamnce is extrmely slow owing to multiple unions. It may be noted that tables and where conditions of all these queries are same.
    Can you help me create a more efficient query?
    select col1 , col2, col3, col4 from my_tables where some_cols = my_condition;Below is the query used to convert these columns into one.
    select col1 new_col from my_tables where some_cols = my_condition
    union all
    select col2 from my_tables where some_cols = my_condition
    union all
    select col3 from my_tables where some_cols = my_condition
    union all
    select col4 from my_tables where some_cols = my_condition

    Without looking at those things you could be barking up the wrong tree by assuming the issue relates to the unioning of queries or other such things.Well, might be.........
    Execution time of this query (just the execution time not the retrival) is around 34 seconds with connect-by clause for returning 22,000 records.
    Here's the plan
    Execution Plan
    | Id  | Operation                          | Name                        | Rows
    | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT                   |                             |   326
    | 33904 |   135   (2)|
    |   1 |  SORT ORDER BY                     |                             |   326
    | 33904 |   135   (2)|
    |   2 |   MAT_VIEW ACCESS BY INDEX ROWID   | MV_COMQ_RM_DEAL             |     1
    |    62 |     1   (0)|
    |   3 |    NESTED LOOPS                    |                             |   326
    | 33904 |   134   (1)|
    |   4 |     MERGE JOIN CARTESIAN           |                             |   326
    | 13692 |     3   (0)|
    |   5 |      VIEW                          |                             |     1
    |    13 |     2   (0)|
    |   6 |       COUNT                        |                             |
    |       |            |
    |   7 |        CONNECT BY WITHOUT FILTERING|                             |
    |       |            |
    |   8 |         FAST DUAL                  |                             |     1
    |       |     2   (0)|
    |   9 |      BUFFER SORT                   |                             |   326
    |  9454 |     3   (0)|
    |  10 |       TABLE ACCESS BY INDEX ROWID  | SF_SEARCH_IDS_TMP_COMQ      |   326
    |  9454 |     1   (0)|
    |  11 |        INDEX RANGE SCAN            | IDX1_SF_SEARCH_IDS_TMP_COMQ |   349
    |       |     1   (0)|
    |  12 |     INDEX RANGE SCAN               | IDX_MV_COMQ_RM_DEAL         |     9
    |       |     1   (0)|
    -----------------------     Hope, It's readable.......
    I would have posted sample data and query but........I cant do that...:(

  • Can't convert my String to numbers

    Hi!
    I'm trying to convert my received data to numbers in actionscript in Flex.
    I want to use the numbers that I get in a calculation.
    The function where the data ("Svar") in received and saved in a string looks like this:
    Svar.htmlText = event.result.toString();
    And this is the calculation that I want to do:
    var r:Number = Number(Svar)/2.1;
    var newheight:Number = 420 * r;
    var newwidth:Number = 162 * r;
    resizeLarge.widthTo = newwidth;
    resizeLarge.heightTo = newheight;
    resizeLarge.duration=750;
    I've checked the calculation and it works so it must be something wrong with the
    "Svar" data.
    I'd be really grateful if someone could help me!

    Hi,
    You are doing something wrong with the calculation in the below line of code.
    var r:Number = Number(Svar)/2.1;
    Here what does Svar corresponds to....Is it a variable or a Labeel control....?
    I think Svar is some kind of a Label or Text control since in your code you have used "htmlText: attribute with the "Svar" as shown below.
    Svar.htmlText = event.result.toString();
    So in your calculation also you need to use the same ...I mean ...text property as shown below..
    var r:Number = Number(Svar.text)/2.1;
    Dont use Svar.htmlText  in calculation as it may give include unnecessary htmltags and your conversion from string to Number fails.
    Hope now the things are clear...If you still have any dobt let me know.
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • How can I create a Cell Format in Numbers that doesn't display zeroes?

    I can't figure this out. I need to view numbers in a column decimal aligned. If the number has trailing digits then all trailing zeros need to be removed up to the number of decimals to display. All remaining trailing zeros need to be hidden (not replaced with a space as a space isn't the same with as a digit). Below is a simple example I hacked in Photoshop. The first column shows the real entered value and the right it's displayed value. Note that the cell in red is showing that the trailing zero has been replaced with nothing but the decimal point is still aligned.

    Hi Mike,
    No sign of your photoshopped image, so I'm guessing about what you want here.
    Does this resemble what you're looking for?
    Column B contains the initial entries (made from the keyboard). I wasn't expecting to see the trailing zeroes retained in these.
    All cells in columns C and D contain the formula shown above the table, =B, a simple cell reference to the column B cell on the same row as the formula.
    Column C's format is left as the default "Automatic". As can be seen, all trailing zeroes are removed.
    Cells in column D have had their format set as shown in the Inspector pane to the right of the table.
    The value in these cells is still the same as the value in column B, and that is the value that would be used in any calculations referencing these cells. Formatting affects only the display of the cell contents. What is displayed is the value in the cell, rounded to two decimal places.
    Regards,
    Barry

Maybe you are looking for