How to know if a given number it's even or odd

Hi,
I need to know if a given number is odd or even.
¿Does someone how to do this or if there is a function in Ora10G to solve this?
Thx for your time!

Hi,
Use mod function:
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as hr
SQL> select mod(7,2) from dual;
  MOD(7,2)
         1
SQL> select mod(6,2) from dual;
  MOD(6,2)
         0
SQL> Regards,

Similar Messages

  • How to know the total page number of the standard report

    How to know the total page number of the standard report?
    If I insert a graph, a table, or text into the end of the standard report, how to know how much space is left for the current page?

    Hello Net,
    Unfortunately, we do not have any VIs in LabVIEW that can figure out the number of pages of a standard report. However, with the use of ActiveX calls you can achieve this task. Here are a couple of discussion forums which discuss this:
    Excel Page Numbering with ActiveX:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=194479&requireLogin=False
    Number Pages in Word Report:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=162972&requireLogin=False
    There is also great documentation on using ActiveX on msdn. You can search this document for page number objects. Here is a link to this:
     http://msdn2.microsoft.com/en-us/library/aa223048(​office.11).aspx
    Please refer to these links. If you still have questions please feel free to let us know so we can assist you.
    Thank you
    Best Regards,
    Dominic L.

  • [help]how to know whether the given column exists in the table or not????

    Hi all, can anyone tell me how to write a C# code help me to know whether the given field exists.
    If it doesnt exists then i want to alter the table to include this column also
    I am able to write the code for alter table but i m not sure how do i check for its existence/nonexistence
    My Altering code
    {color:#800000}cmd.CommandText = "alter table " + row.ToString() + " add(" + sQuality + " varchar2(50), " +
    sTimeStamp + " varchar2(50), " +
    sValue + " varchar2(50))";
    cmd.CommandType = CommandType.Text;
    cmd.ExecuteReader();
    {color}

    Just iterate the datatable after completion and check for your column.
            public static DataTable MaterializeTableStructure(string _connectionString, string _tableName)
                DataSet ds = null;
                using (OracleConnection _oraconn = new OracleConnection(_connectionString))
                    try
                        _oraconn.Open();
                        string sql = "SELECT COLUMN_NAME, DATA_TYPE, NULLABLE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE FROM user_tab_columns where table_name='" + _tableName + "'";
                        using (OracleCommand cmd = new OracleCommand(sql, _oraconn))
                            cmd.CommandType = CommandType.Text;
                            using (OracleDataAdapter da = new OracleDataAdapter(cmd))
                                ds = new DataSet("MaterializeTableStructure");
                                da.Fill(ds);
                    catch (OracleException _oraEx)
                        throw (_oraEx); // Actually rethrow
                    catch (System.Exception _sysEx)
                        throw (_sysEx); // Actually rethrow
                    finally
                        if (_oraconn.State == ConnectionState.Broken || _oraconn.State == ConnectionState.Open)
                            _oraconn.Close();
                if (ds != null)
                    return ds.Tables[0];
                else
                    return null;
            }r,
    dennis

  • How to find whether a given number is integer?

    hello,
    How can i find out whether a given number ( a variable after simplification holds a value) is an integer or not.?
    I thought i could use isinteger( ) function in mathscript, but it does not exist- is giving error
    can i do it without mathscript?
    Thanks,
    Solved!
    Go to Solution.

    I assume you want m/N to be a (possibly rounded up) integer. Is this correct.
    In this case, you could do something like the following?
    Message Edited by altenbach on 01-25-2009 04:47 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DivideAndRoundUp.png ‏5 KB

  • How to know the previous screen number..?

    Hi Expert..
    Is it possible to know the previous screen number?  From which screen this present screen  has called ? just similar to u201CLEAVE TO SCREEN 0u201D. I want to know the last screen number.
    Could you please suggest how I will able to get that screen number ?
    Thanks in advance.
    Regards
    Satrajit.

    Hi
    An alternative is to take a variable of type sy-dynnr.
    And when you leave from screen1 to screen2 at any user command, then assign the current screen number to this variable and control moves to the next screen.
    Now you can use this variable on the next screen (presently current screen) to access the previous screen number (from which the present screen was called).
    DATA : v_prev_screen TYPE sy-dynnr.
    At any user command:-
    v_prev_screen = sy-dynnr.
    CALL SCREEN 8002. " or LEAVE TO SCREEN 8002
    Now on the next screen 8002, you can access the variable v_prev_screen to the previous screen number.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • How to know the previliges given to me by the DBA

    How would i know as a database user that what are the previliges given to me by the DBA and what are the list of previliges given to other users of the database by me??? Is there any way to look that info? thanks

    faisalsaeed wrote:
    How would i know as a database user that what are the previliges given to me by the DBA and what are the list of previliges given to other users of the database by me??? Is there any way to look that info? thanksUseful collection of scripts from Pete Finnigan: http://www.petefinnigan.com/tools.htm - including "who has what privileges and how they got them".
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to know if the given value is string or numeric

    I need to know the given input value is a numeric or not in the transaction. I tried the following:
    stringif( localnumber(Transaction.INPUT) == "NA",Transaction.INPUT, stringright( ("000000000000000000"&localnumber(Transaction.INPUT)), 18 )
    But in the above case, when INPUT value is "123s" (if the first character is numeric), it returns "123", not "NA".
    Is there any other way to handle this?
    Thanks,
    Sara

    <?xml version="1.0" encoding="utf-8"?>
    <Transaction xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <TransactionAttributes>
            <ContextItem>
                <Name>Category</Name>
                <Description>Transaction Category</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string"/>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Comments</Name>
                <Description>User Comments</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string"/>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>CreatedBy</Name>
                <Description>Created By</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string"/>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>CreationDate</Name>
                <Description>Creation Date</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:dateTime">2007-07-30T08:33:08</Value>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Description</Name>
                <Description>Transaction Description</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string"/>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Status</Name>
                <Description>Deployment Status</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string">DEVELOPMENT</Value>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>LastEditedBy</Name>
                <Description>Last Edited By</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string"/>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>LastEditedDate</Name>
                <Description>Last Edited Date</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:dateTime">2007-07-30T11:05:28</Value>
                <ReadOnly>true</ReadOnly>
            </ContextItem>
        </TransactionAttributes>
        <Name>IsNumeric</Name>
        <Version>10</Version>
        <WriterRoles/>
        <ReaderRoles/>
        <Context>
            <ContextItem>
                <Name>input</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string">00000000000000000005679</Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>output</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:string"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
        </Context>
        <Local>
            <ContextItem>
                <Name>DecTracker</Name>
                <Description>Track number of Decimal point</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:long">0</Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>lntInput</Name>
                <Description>Define the length of the input string</Description>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="xsd:long">0</Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
        </Local>
        <Layout>
            <GUILayoutItem>
                <Name>Sequence_0</Name>
                <X>8</X>
                <Y>264</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>120</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>seqInputExample</Name>
                <X>944</X>
                <Y>136</Y>
                <Width>120</Width>
                <SpacingWidth>1992</SpacingWidth>
                <DescendantWidth>1992</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_2</Name>
                <X>944</X>
                <Y>264</Y>
                <Width>120</Width>
                <SpacingWidth>1704</SpacingWidth>
                <DescendantWidth>1704</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_3</Name>
                <X>1880</X>
                <Y>264</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_4</Name>
                <X>8</X>
                <Y>392</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>120</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>CalculateInputStringLength</Name>
                <X>16</X>
                <Y>408</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_5</Name>
                <X>944</X>
                <Y>392</Y>
                <Width>120</Width>
                <SpacingWidth>1704</SpacingWidth>
                <DescendantWidth>1704</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>LoopThroughTheString</Name>
                <X>952</X>
                <Y>408</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_6</Name>
                <X>944</X>
                <Y>520</Y>
                <Width>120</Width>
                <SpacingWidth>1704</SpacingWidth>
                <DescendantWidth>1704</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Tracer_0</Name>
                <X>952</X>
                <Y>536</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_7</Name>
                <X>944</X>
                <Y>648</Y>
                <Width>120</Width>
                <SpacingWidth>1704</SpacingWidth>
                <DescendantWidth>1704</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Tracer_1</Name>
                <X>952</X>
                <Y>664</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_8</Name>
                <X>944</X>
                <Y>776</Y>
                <Width>120</Width>
                <SpacingWidth>1704</SpacingWidth>
                <DescendantWidth>1704</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Switch_0</Name>
                <X>952</X>
                <Y>792</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_9</Name>
                <X>152</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_10</Name>
                <X>296</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_11</Name>
                <X>440</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_12</Name>
                <X>584</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_13</Name>
                <X>728</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_14</Name>
                <X>872</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_15</Name>
                <X>1016</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_16</Name>
                <X>1160</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_17</Name>
                <X>1304</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_18</Name>
                <X>1448</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_19</Name>
                <X>1592</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>120</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_20</Name>
                <X>1736</X>
                <Y>904</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>120</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>AssignOutPut</Name>
                <X>952</X>
                <Y>280</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>AssignException</Name>
                <X>1744</X>
                <Y>920</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_21</Name>
                <X>1736</X>
                <Y>1032</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>BreakLoop</Name>
                <X>1744</X>
                <Y>1048</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Tracer_2</Name>
                <X>1888</X>
                <Y>280</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_22</Name>
                <X>8</X>
                <Y>520</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>AssignDefaultValueforDecTracker</Name>
                <X>16</X>
                <Y>536</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Increment</Name>
                <X>1600</X>
                <Y>920</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_23</Name>
                <X>1592</X>
                <Y>1032</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>120</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>ChkNumberDecimalPoint</Name>
                <X>1600</X>
                <Y>1048</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_24</Name>
                <X>1592</X>
                <Y>1160</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>120</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>AssignExceptionForInvalidNumber</Name>
                <X>1600</X>
                <Y>1176</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>Sequence_25</Name>
                <X>1592</X>
                <Y>1288</Y>
                <Width>120</Width>
                <SpacingWidth>120</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>BreakLoopForInvalidNumber</Name>
                <X>1600</X>
                <Y>1304</Y>
                <Width>104</Width>
                <SpacingWidth>0</SpacingWidth>
                <DescendantWidth>0</DescendantWidth>
                <Height>72</Height>
            </GUILayoutItem>
            <GUILayoutItem>
                <Name>seqHeader</Name>
                <X>944</X>
                <Y>8</Y>
                <Width>120</Width>
                <SpacingWidth>1992</SpacingWidth>
                <DescendantWidth>1992</DescendantWidth>
                <Height>96</Height>
            </GUILayoutItem>
        </Layout>
        <Actions>
            <ContextItem>
                <Name>CalculateInputStringLength</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>LoopThroughTheString</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="ForNextRepeaterAction">
                    <From>0</From>
                    <Break>false</Break>
                    <To>0</To>
                    <Step>1</Step>
                    <CurrentItem>0</CurrentItem>
                </Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Tracer_0</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Tracer">
                    <Level>INFO</Level>
                    <Message/>
                </Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Tracer_1</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Tracer">
                    <Level>INFO</Level>
                    <Message/>
                </Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Switch_0</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="SwitcherAction">
                    <MatchCount>11</MatchCount>
                </Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>AssignOutPut</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>AssignException</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>BreakLoop</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Tracer_2</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Tracer">
                    <Level>INFO</Level>
                    <Message/>
                </Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>AssignDefaultValueforDecTracker</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>Increment</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>ChkNumberDecimalPoint</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="ConditionalAction">
                    <InputCount>1</InputCount>
                    <LogicalAnd>false</LogicalAnd>
                </Value>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>AssignExceptionForInvalidNumber</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
            <ContextItem>
                <Name>BreakLoopForInvalidNumber</Name>
                <Description/>
                <MinRange>0</MinRange>
                <MaxRange>0</MaxRange>
                <Value xsi:type="Assignment"/>
                <ReadOnly>false</ReadOnly>
            </ContextItem>
        </Actions>
        <Steps>
            <Step xsi:type="ActionSequence">
                <Name>seqHeader</Name>
                <Description>This transaction take a string as input and test if the string is numeric or not.
    If it is numeric, it returns the value as output, otherwise it retruns as NA as output </Description>
                <Steps>
                    <Step xsi:type="ActionSequence">
                        <Name>seqInputExample</Name>
                        <Description>input: 0000234S</Description>
                        <Steps>
                            <Step xsi:type="ActionSequence">
                                <Name>Sequence_0</Name>
                                <Description/>
                                <Steps>
                                    <Step xsi:type="ActionSequence">
                                        <Name>Sequence_4</Name>
                                        <Description/>
                                        <Steps>
                                            <Step xsi:type="ActionSequence">
                                                <Name>Sequence_22</Name>
                                                <Description/>
                                                <Steps/>
                                                <Actions>
                                                    <Action>
                                                        <Name>AssignDefaultValueforDecTracker</Name>
                                                        <Description/>
                                                        <IncomingLinks/>
                                                        <OutgoingLinks>
                                                            <Assign xsi:type="Assign">
                                                                <Name/>
                                                                <Description/>
                                                                <To>Local.DecTracker</To>
                                                                <From>0</From>
                                                            </Assign>
                                                        </OutgoingLinks>
                                                    </Action>
                                                </Actions>
                                            </Step>
                                        </Steps>
                                        <Actions>
                                            <Action>
                                                <Name>CalculateInputStringLength</Name>
                                                <Description/>
                                                <IncomingLinks/>
                                                <OutgoingLinks>
                                                    <Assign xsi:type="Assign">
                                                        <Name/>
                                                        <Description/>
                                                        <To>Local.lntInput</To>
                                                        <From>stringlength( Transaction.input )</From>
                                                    </Assign>
                                                </OutgoingLinks>
                                            </Action>
                                        </Actions>
                                    </Step>
                                </Steps>
                                <Actions/>
                            </Step>
                            <Step xsi:type="ActionSequence">
                                <Name>Sequence_2</Name>
                                <Description/>
                                <Steps>
                                    <Step xsi:type="ForNextRepeater">
                                        <Name>Sequence_5</Name>
                                        <Description/>
                                        <Steps>
                                            <Step xsi:type="ActionSequence">
                                                <Name>Sequence_6</Name>
                                                <Description/>
                                                <Steps>
                                                    <Step xsi:type="ActionSequence">
                                                        <Name>Sequence_7</Name>
                                                        <Description/>
                                                        <Steps>
                                                            <Step xsi:type="Switcher">
                                                                <Name>Sequence_8</Name>
                                                                <Description/>
                                                                <Steps>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_9</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_10</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_11</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_12</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_13</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_14</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_15</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_16</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_17</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_18</Name>
                                                                        <Description/>
                                                                        <Steps/>
                                                                        <Actions/>
                                                                    </Step>
                                                                    <Step xsi:type="ActionSequence">
                                                                        <Name>Sequence_19</Name>
                                                                        <Description/>
                                                                        <Steps>
                                                                            <Step xsi:type="Conditional">
                                                                                <Name>Sequence_23</Name>
                                                                                <Description/>
                                                                                <Steps>
                                                                                    <Step xsi:type="ActionSequence">
                                                                                    <Name>Sequence_24</Name>
                                                                                    <Description/>
                                                                                    <Steps>
                                                                                    <Step xsi:type="ActionSequence">
                                                                                    <Name>Sequence_25</Name>
                                                                                    <Description/>
                                                                                    <Steps/>
                                                                                    <Actions>
                                                                                    <Action>
                                                                                    <Name>BreakLoopForInvalidNumber</Name>
                                                                                    <Description/>
                                                                                    <IncomingLinks/>
                                                                                    <OutgoingLinks>
                                                                                    <Assign xsi:type="Assign">
                                                                                    <Name/>
                                                                                    <Description/>
                                                                                    <To>LoopThroughTheString.Break</To>
                                                                                    <From>true</From>
                                                                                    </Assign>
                                                                                    </OutgoingLinks>
                                                                                    </Action>
                                                                                    </Actions>
                                                                                    </Step>
                                                                                    </Steps>
                                                                                    <Actions>
                                                                                    <Action>
                                                                                    <Name>AssignExceptionForInvalidNumber</Name>
                                                                                    <Description/>
                                                                                    <IncomingLinks/>
                                                                                    <OutgoingLinks>
                                                                                    <Assign xsi:type="Assign">
                                                                                    <Name/>
                                                                                    <Description/>
                                                                                    <To>Transaction.output</To>
                                                                                    <From>"NA"</From>
                                                                                    </Assign>
                                                                                    </OutgoingLinks>
                                                                                    </Action>
                                                                                    </Actions>
                                                                                    </Step>
                                                                                </Steps>
                                                                                <Actions>
                                                                                    <Action>
                                                               

  • How to know which CS4 serial number is installed on my computer ?

    Hi,
    Our company has several CS4 software packages installed on several Windows computers.
    Some have been purchased from a store, others have been downloaded from the Adobe webstore.
    Now I'd like to upgrade to CS6 on one of the computers; for this, I assume, I will need the serial number of the CS4 packaged installed on that specific computer, correct? but how can I find that out ?
    Unfortunately, we did not keep track of which specific CS4 package was installed on which computer
    Already deactived CS4 in Indesign while unchecking the 'remove serial number' checkbox, restarted Indesign, and the computer, but nothing seemed to happen
    Tried Adobe Chat, but after repeating the same question 3 times and the chat being closed (by Adobe) 3 times without any response to the actual subject, I gave up...not having had the impression that I was talking to a person by the way...
    Thanks for help
    Frederik

    Again, more bad advice from Mylenium.  You can use Belarc to find all kinds of information about your computer and installed software, and will show most serial numbers including CS4.  I'm running Win 7 Pro with CS2 and CS4 installed and see both serial numbers in Belarc)

  • How to know if a given internal order(AUFNR) budget is exceeded...

    Hello Experts,
    Are there any available FMs or BAPIs that checks if a given IO number's budget is already
    exceeded or not?
    Thank you guys and take care!

    No Answer.

  • How I know when divide some number the results is decimal ?

    I am new programing in java, I looking for any instruction what tell me where I divide a number and the results is a decimal number like 2.5, 4.9, etc.

    > Excuse me, Mr_Evil, but I am a new programer, I try
    to use that instruction, but I don't get it. Do you
    have some example about that instruction. I
    appreciate your efforts for me.
    Thanks
    This is what Mr_Evil meant:double originalValue = 0.0d;
    for(int i = 0; i < 10; i++) {
      originalValue += 0.1d;
    // round originalValue to the closest (mathematical) integer
    double roundedValue = Math.rint(originalValue);
    System.out.println("Is the original value "+originalValue+
              " an integer? "+(originalValue == roundedValue));; )

  • How to know the hard disk number

    Hello,
    I'm looking for an application which could give me the number of the hard disk of the PC where's the application is installed.
    your sincerely.
    Jean-Jacques

    You won't find it in the Java API.

  • Latest version of Firefox incompatible with programs used for online academic studies 1) Blackboard and 2) Turnitn. Why does Firefox not know about this given number of students studying online? What can be done about it?

    To solve problem I had to downgrade the version of Firefox from latest to an earlier version.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Random number generator. Even and odd numbers

    I have a problem.
    I have a random number generator, it goes from 0 to 20, I need to have two indicators, one will show how many numbers are pairs, and how many are not.
    I tried to use the decimated 1D array, but since those numbers are random, it doesn´t work for me. I´m new with LabView, and I don´t know if there is some other way to make it work, I need some help, especially with some examples.
    Thank you so much.
    Solved!
    Go to Solution.

    RavensFan wrote:
    Spoiler (Highlight to read)
    Create the array.  Use quotient remainder to divide by 2.  Now you have an array where all the odd numbers are now 1, and all the even numbers are now 0.  Sum the array and you have the total number of odd numbers.  The number of evens will be the length of the array divided by the # of odds.
    Create the array.  Use quotient remainder to divide by 2.  Now you have an array where all the odd numbers are now 1, and all the even numbers are now 0.  Sum the array and you have the total number of odd numbers.  The number of evens will be the length of the array divided by the # of odds.
    Haha I lost sight of the fact that he was looking for the amount off odds and evens.  Good one.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How to know given email id is exists or not

    HI,
    I am sending email from my application after registration. if the user register with an email which is not existing, i need to find out. but how to know whether the given email id is exists or not.
    when i am trying to send email to not existing emails id, it is not throwing any exception also.
    can you please help me in resolving this
    thanks in advance

    Sampi-n wrote:
    my requirement is like this.
    when the user registers with his email id, it will mails him the password and first time it will automatically login(default login) to the application with out asking for username and password.
    here i am sending mail to the given mail id. here i am not able to find the email was delivered or not. if i get to know that ican display registratin fails on the page with put default loginIt's best do it the way pbrockway2 suggested:
    Or you could send some mail to the id containing a link which, when followed, completes the registration process. If the recipient doesn't mail back, have the registration fail. So you ask the user to enter his/her email id. Send an email with the verification link and/or key. Tell the user to check their email and either click the link or enter the registration key in some form. Once that is done, you mark their email address as verified and email them their username/password (personally, I dislike it when sites mail me my password. It's an insecure medium and there is no need for me to see my password when I've just registered, I just would like an option to reset it, that's all). Don't send a mail with the username/password before you've verified the account. What if the user misspelled the email id? The username/password could end up with someone else. And since most people use the same username and password everywhere, you'd be exposing their details to a stranger.

  • How to test if a decimal is even or odd in labview

    i made a VI that tests for even and odd integers using the quotient/remainder function and the Select function but when i test a decimal it does not work properly.
    i have my VI testing to see if the input diveded by 2 gives you a remainder equal to 0, and if it does then it is even and the VI displays a messege saying "Even", but when i put in a decimal ( for example 7.2) the remainder is spitting out 1.2 which is not equal to 0 making my VI not work properly, if anybody can help me with this i would greatly appreciate it and if you could attached a photo that would help me understand what my mistake is, Thanks i have attached my VI for you to look at
    Attachments:
    P 3.7.vi ‏34 KB

    As has been already said, odd/even is only defined for integers, so you need to tell us what you expect for e.g. 7.2.
    Do you want to know if the last decimal digit is even or odd?
    Do you want to know if the nearest integer is even or odd?
    While you are at it, you might also think a bit more about your program design:
    What is the purpose of your "select" primitive? What do you think would be different if you just leave it out completely?
    Why do you test for "equal zero" and "not equal zero"? One is just the inversion of the other and knowing one also determines the other automatically.
    Why do you use two dialog boxes? Do one comparison and use "select" to switch between the two messages. Only one express dialog needed.
    Don't mix blue and orange. Select the correct representation for your diagram constants.
    There is a primitive for "equal zero"
    Never use equal and not equal comparison with orange numeric data (DBL). You might not get expected results.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • How to get full path of indesign document as well as picture path.

    Hi all, I am working in InDesign CS4 plugins. and I have two quetions, 1) How can we get the indesign document full path. I am able only to get the document name but i want the full path of it. 2) How can we get the selected picture path also. I am a

  • Soap or File Adapter

    Hi Experts, My scenario ECC......>PI........>FILE                 RFC       SOAP We are signing and encrypting xml files ,in order to do this we need soap adapter because we get security parameters options but now instead of sending this signed and e

  • Inserting MobileMe Videos into IWeb

    I have three questions about inserting MobileMe Videos into iweb. 1) I used the "insert from MobileMe" command in iWeb and it allows me to insert a video but I can't change the size of the video. Do you know how I can change the size. 2) I have some

  • Reg..yahoo messenger

    Hello Friends, I have recently got my Macbook (White, 2.16 GHz. Core 2 Duo, 2 GB RAM, 120 GB HardDsic). This is my first mac experiance and I am still trying to explore the world of Mac. I have downloaded Yahoo Messenger, yesterday..Its working fine

  • Change production order with deletion indicator

    Hello We have some production order with deletion indicator, status 'DLT'. We want to reative them and do GR. How can we do, can we remove the status 'DLT' Thanks Hailiang