Bad results using the scientific calculator

When you use the scientific calculator of Wondows 7, when I type 126/(3.6*6.48), I get a wrong result: 23.328. When I use Excel to do the same, I get the correct result: 5.40. Any idea?

I tried this using the scientific calculator and got the correct results, enter the numbers exactly how you wrote them and then hit equal.

Tags: Windows

Similar Questions

  • bad results for the search for context on the empty element tags

    I use Oracle DBMS 11.1 and 11.2 and created an index on an XML column context (article group: PATH_SECTION_GROUP).
    When you enter a query like

    SELECT count (*) FROM my_table t WHERE contains (t.co_xml,'hasPath(/tag1/tag2)') > 0

    I get bad results if tag2 is an empty element tag (< tag2 / >) that appears somewhere in the
    XML instance, but is NOT directly under tag1.

    For example, the following XML instance is (but shouldn't!):

    < a >
    blah blah < tag3 > < tag1 > < / tag3 > < / tag1 >
    blah < tag4 > < tag2 / > < / tag4 >
    < /a >

    This seems to happen only for the empty element tags. Is this a known bug and does anyone know of a workaround?

    Thank you in advance for your help!
    Roman

    Like you, I've been looking in the wrong places, bug of thought, rather than documented behavior. Finally, I came across the following excerpt from the next section of the documentation on haspath in Oracle text reference.

    http://download.Oracle.com/docs/CD/B28359_01/text.111/b28304/cqoper.htm#i997393

    Limits

    Because of the way in which XML data section are saved, false match may appear with XML sections that are completely empty as follows:

    
    

    A query of HASPATH(A/B/E) or HASPATH(A/D/C) falsely corresponds to this document. This type of fake correspondent can be avoided by inserting some text between the empty tags.

  • Qosmio F20: Bad sound using the MSN Messenger & video transmission

    Hi all

    I recently bought a laptop Qosmio F20, who is currently connected to the Internet via a router/modem WiFi Netgear (DG834v2).
    I tried to use MSN messenger v7.5 (7.5.0311 and 7.5.0324) with a webcam Creative NX () to make a video call.
    But the sound of the person I'm talking to is so distorted, it is impossible to have a conversation (I tried with several of my friends, who all have good sound on their end).
    However, if I have an audio only (no video) conversation, I have a perfect sound.
    Despite my best efforts (update drivers, reinstall messenger, windows firewall ok for messenger etc...) I've had no chance of finding the problem so far. If anyone has any suggestions I would be very grateful.

    Thanks in advance.
    François

    Hello

    You suggested that the sound working properly without the video connection.
    In my opinion, it happens because of the webcam. Maybe the software has a bad influence on the sound.
    This is not a product of Toshiba, and Toshiba is not responsible for any 3rd party device.
    I recommend you to check the site of the manufacture of cam. Maybe you will find the solution.

  • Trying to figure out how to use the Windows calculator to convert a basic number of 50pico.

    I can't find out how to enter to the power 10 - 12. When I type exp it evokes 10th + 0, I want 10-12. I also can't figure out how to use the brackets and parentheses, I tried to use help and can not find an answer for what I am trying to do. I need to convert a number of basic rating scientist 50pF.

    Thank you, Doug

    I found the answer to my question.  When I clicked on the button in the calculator of + /-he would change 50 * 10 + 12 to 50 * 10-12 and give me the answer I was looking for.

    Doug

  • Is it possible to use the same calculation in another frame. Or maybe another solution.

    Hello everyone.

    Sorry to bother you again. As you probably have seen before that I'm working on a calculator. I ran into another problem I want to add more features to the calculator I've done.

    The problem is the following:

    I have included a check box. This box should turn on and off a drop down box and 2 sliders. And when they are activated as they

    do a 2nd calculation next 1 calculation. But they need to use parts of the 1 calculation. How can I implement

    this without messing with the first script?

    I tried to make the long script more easily readable with the colors. I hope someone can help.

    import fl.controls.ComboBox

    import fl.controls.Slider

    import fl.controls.DataGrid

    import fl.controls.dataGridClasses.DataGridColumn

    import fl.data.DataProvider

    ///////////////////////////

    var levelArray:Array = new Array ("disastrous", "miserable", "mediocre", 'low', 'insufficient', 'fair', "solid", "excellent", "wonderful", "exceptional", "brilliant", "beautiful", "worldclass", "supernatural", "titanic", "alien", "mythical", "magical" and "utopian", "divine")

    var trainingArray:Array = new Array ("Guardians", "Defense", "Defensive Positions", "Crossing", "WingAttack", "Abyssal", "Rating", "Fire", "Short pass", "thanks to", "Set Pieces")

    var trainingBase:Array = new Array (3.0206,5.4824,10.9648,3.2341,5.3902,4.6613,4.8536,8.0893,4.2989,5.0575,0.9938)

    slide years

    yearsSb.addEventListener (Event.CHANGE, onYearsChange)

    slide of days

    daysSb.addEventListener (Event.CHANGE, onDaysChange)

    Current skills slide

    skillminSb.addEventListener (Event.CHANGE, onMinSkilChange)

    Slide of skills

    skillmaxSb.addEventListener (Event.CHANGE, onMaxSkilChange)

    slide of sublevel

    subSb.addEventListener (Event.CHANGE, onSubChange);

    coach slide

    coachSb.addEventListener (Event.CHANGE, onCoachChange)

    assistans slide

    assSb.addEventListener (Event.CHANGE, onAssChange)

    slide of intensity

    intensitySb.addEventListener (Event.CHANGE, onIntensityChange)

    slide of endurance

    staminaSb.addEventListener (Event.CHANGE, onStaminaChange)

    for (var i = 0; i < trainingArray.length; i ++) {}

    trainingCb.addItem ({label: trainingArray [i], data: trainingBase [i]})

    }

    trainingCb.addEventListener (Event.CHANGE, changeEvent)

    trainingCb.selectedIndex = 0

    DataGrid

    CGI Columns = ['week', 'Skills', 'Length', 'âge'];

    var weekCol:DataGridColumn = new DataGridColumn()

    weekCol.dataField = "Week"

    weekCol.sortOptions = Array.NUMERIC;

    weekCol.width = 50

    dg.addColumn (weekCol)

    var skillCol:DataGridColumn = new DataGridColumn()

    skillCol.dataField = "Skill"

    skillCol.width = 150

    skillCol.sortOptions = Array.NUMERIC;

    dg.addColumn (skillCol)

    var lengthCol:DataGridColumn = new DataGridColumn()

    lengthCol.dataField = "Length"

    lengthCol.width = 75

    dg.addColumn (lengthCol)

    var ageCol:DataGridColumn = new DataGridColumn()

    ageCol.dataField = "Age"

    ageCol.width = 75

    dg.addColumn (ageCol)

    variables

    var: number

    var days: Number

    var yearsFactor:Number

    var level: number

    var sublevel: Number

    var levelFactor:Number

    var trainingFactor:Number

    var coachFactor:Number

    var assistentsFactor:Number

    intensity: number var

    endurance: number var

    weeks: number var

    var skillUp:Number

    var baseLevel:Number

    var newLevel:Number

    var skillDown:Number

    commissioning chart mc

    var graphMc:MovieClip = new MovieClip()

    graphMc.x = 80

    graphMc.y = 760

    for (i = 0; i < levelArray.length; i ++) {}

    var skilLab:skillLabel = new skillLabel()

    skilLab.txt.text = levelArray [i]

    skilLab.name = "sl" + i

    skilLab.x = 30

    var graphPoint:point = new focus()

    graphPoint.name = "gp" + i

    graphMc.addChild (skilLab)

    graphMc.addChild (graphPoint)

    }

    addChild (graphMc)

    events

    function onYearsChange (e) {}

    yearsVal.text = yearsSb.value.toString)

    Calc()

    }

    function onDaysChange (e) {}

    daysVal.text = daysSb.value.toString)

    Calc()

    }

    function onMinSkilChange (e) {}

    skillValMin.text = levelArray [skillminSb.value - 1]

    If (skillminSb.value > skillmaxSb.value) skillminSb.value = skillmaxSb.value;

    Calc()

    }

    function onMaxSkilChange (e) {}

    skillValMax.text = levelArray [skillmaxSb.value - 1]

    If (skillmaxSb.value < skillminSb.value) skillmaxSb.value = skillminSb.value;

    Calc()

    }

    function onSubChange (e) {}

    subVal.text=((subSb.value)/10).toString)

    Calc()

    }

    function onCoachChange (e) {}

    coachVal.text = levelArray [coachSb.value - 1]

    Calc()

    }

    function onAssChange (e) {}

    assVal.text = assSb.value.toString)

    Calc()

    }

    function onIntensityChange (e) {}

    intensityVal.text = intensitySb.value.toString)

    Calc()

    }

    function onStaminaChange (e) {}

    staminaVal.text = staminaSb.value.toString)

    Calc()

    }

    function changeEvent (e) {}

    Calc()

    }

    Calc()


    function calc() {}

    Years = yearsSb.Value

    Days = daysSb.Value

    Level = skillminSb.Value

    Colourful = subSb.value / 10

    skillDown = skillmaxSb.value - 1

    yearsFactor=Math.pow(1.0404,years+days/112-17)

    levelFactor =-1.4595 * Math.pow ((level+subLevel)/20.2) + 3.7535 *(level+subLevel)/20-0, 134 9

    trainingFactor = trainingBase [trainingCb.selectedIndex]

    coachFactor = 1 + (7 - Math.min (coachSb.value, 7.5)) * 0.091

    assistentsFactor = 1 + (1.041392685-(Math.log (assSb.value + 1)) * Math.LOG10E) * 0.2749

    Intensity=1/(intensitySb.value/100)

    Stamina=1/(1-staminaSb.value/100)

    weeks = yearsFactor * levelFactor * trainingFactor * coachFactor * assistentsFactor * intensity * endurance

    weeks = Math.Max (Weeks, 1).

    skillUp = 1/WEEK.

    To = level + sublevel

    newLevel = to

    var dosta:Boolean = false

    var weeksNo:Number = 0

    var weeksCount:Number = 0

    var dp:DataProvider = new DataProvider()

    {while (!) Dosta)}

    weeksNo ++

    weeksCount ++

    days += 7

    if(Days>111) {}

    years ++

    days = days-112

    }

    reCalc()

    newLevel += skillUp

    If ((newLevel-Level) > = 1) {}

    dp.addItem ({Week: weeksNo, Skill: (Math.floor (newLevel)) + "-" + levelArray [Math.floor (newLevel)-1], length: weeksCount + 'weeks', age: years + ' y ' + day + ' d' "})

    level ++

    weeksCount = 0

    }

    If ((newLevel-skillDown) > = 1) {}

    dp.removeItem ({Week: weeksNo, Skill: (Math.floor (newLevel)) + "-" + levelArray [Math.floor (newLevel)-1], length: weeksCount + 'weeks', age: years + ' y ' + day + ' d' "})

    level ++

    }

    If (newLevel > = 20 | years > = 31) {}

    Dosta = true

    }

    }

    dg.dataProvider = dp

    drawGraph (dp)

    }

    function reCalc() {}

    yearsFactor=Math.pow(1.0404,years+days/112-17)

    levelFactor =-1.4595 * Math.pow (newLevel/20.2) +3.7535*newLevel/20-0.1349

    weeks = yearsFactor * levelFactor * trainingFactor * coachFactor * assistentsFactor * intensity * endurance

    weeks = Math.Max (Weeks, 1).

    skillUp = 1/WEEK.

    }

    function drawGraph (dp) {}

    If (DP. Length > 0) {}

    var lastRow = dp.getItemAt (dp.length - 1).

    var weekNo:Number = parseInt (lastRow.Week)

    var topSkill:Number = parseInt (lastRow.Skill)

    var firstRow = dp.getItemAt (0)

    var baseSkill:Number = parseInt (firstRow.Skill)-1

    var skillH = 300 /(topSkill-baseSkill)

    var weekW = 450/weekNo

    graphMc.graphics.clear)

    draw the greed

    graphMc.graphics.lineStyle(2,0xffffff)

    graphMc.graphics.moveTo (50.0)

    graphMc.graphics.lineTo (50,300)

    graphMc.graphics.lineTo (500,300)

    graphMc.graphics.lineStyle(1,0xcccccc)

    for (i = 0; i < weekNo + 1; i ++) {}

    graphMc.graphics.moveTo(50+(450/weekNo)*i,0)

    graphMc.graphics.lineTo(50+(450/weekNo)*i,300)

    }

    for (i = baseSkill; i < = topSkill; i ++) {}

    graphMc.graphics.moveTo(50,300+baseSkill*skillH-skillH*i)

    graphMc.graphics.lineTo(500,300+baseSkill*skillH-skillH*i)

    }

    draw line

    graphMc.graphics.lineStyle(2,0xff0000)

    graphMc.graphics.moveTo (50,300)

    for (i = 0; i < dp.length; i ++) {}

    var r = dp.getItemAt (i)

    var s = parseInt (r.Skill)

    var w = parseInt (r.Week)

    graphMc.graphics.lineTo(50+w*weekW,300+baseSkill*skillH-s*skillH)

    }

    for (i = 0; i < levelArray.length; i ++) {}

    var sl = graphMc.getChildByName ("sl" + i)

    SL.y = 300-skillH *(i-baseSkill+1)

    If (sl.y < 0 | sl.y > 300) {}

    SL. Visible = false

    } else {}

    SL. Visible = true

    }

    var pm = graphMc.getChildByName ("gp" + i)

    If (I < baseSkill | I > = topSkill) {}

    GP. Visible = false

    } else {}

    r = DP.getItemAt (i-baseSkill)

    s = parseInt (r.Skill)

    w = parseInt (r.week)

    GP. Visible = true

    GP.txt.Text = r.Age

    "" gp.txtW.text = r.Week + "w".

    GP.y = 300-skillH *(i-baseSkill+1)

    GP.x = 50 + w * weekW

    }

    }

    }

    }

    / * Click here to go on stage and play

    */

    Home.addEventListener (MouseEvent.CLICK, fl_ClickToGoToScene);

    function fl_ClickToGoToScene(event:MouseEvent):void

    {

    removeChild (graphMc);

    delete graphMc headphones, if there is

    graphMc = null;

    MovieClip (this.root) .gotoAndPlay (1, "scene 1");

    }

    Stop();

    These forums are here to teach people how to design and code, but sometimes a lesson or two can be offered.  You need to go beyond ' I have only to continue his project mainly by adjusting the calculations. "and learn to code things yourself.  This requires a classroom or your dedication to learning of this practice through (trial, error, and lots of it).

    Here is a brief lesson. Every object, including all components, has properties and methods associated with it.  The box has a property called "selected", a Boolean (true/false) property that tells you whether or not is selected.  Use this property to decide whether or not you want to process the data check box.

    {if (CheckBox.Selected)}

    secondary calculations

    then deselect

    } else {}

    Elementary calculations

    }

  • Result of the incorrect calculation

    Hi all

    I am creating a new logic of the columns in the business layer based on two existing columns:

    Column1/Column2 * 100 (columns 1 and 2 are aggregate amount)

    When I test the multiplication in the report is not made. I have just the result of the division

    What could be the problem?

    Concerning

    Published by: aharrab_be on January 14, 2009 07:59

    try 100 * (column1/column2)
    or
    (100 * column1) /column2

    with the brackets.

    If 100 does not work, try 100.00

  • Acrobat DC more bad results of the marking of Word 2010

    Does using Acrobat DC and Word 2010 usually produced marking poor results? Everything gets the tag, but 95% of the labels are incorrect and role mapping is in every sense (title 1 title [final paragraph, text body mapped to title 2, etc.). Fortunately, lists and tables come out well. The results were not significantly different between a Word well formatted, built from a solid model structure or file Word a bit chaotic, riddled with direct formatting.

    I am relatively new to mark the PDF files for accessibility, and I wonder if I would get better results by using Word 2010 with Acrobat X or XI or Word 2013 2016 with Acrobat DC. My goal is to have structured accessible PDF files without the need of treatment of syndrome of carpal for my hands.

    Yikes! Certainly worth a try a newer version of Word to see if you get the best results, although I use Word 2010 and 2015 and have not noticed a huge difference. A rate of 20% on average, cleaning is a reasonable expectation, IMHO.

  • Make the result of the empty calculation if a factor is equal to 0

    I found a similar discussion with this thread, but it didn't answer exactly what I needed. I wish that the result of a calculation that is simple to be empty if a factor is empty or zero.

    For example, I have a calcuation C field that is the sum of the fields A and B. A will always have a value, but B does not. If B is empty or 0, I C does not show any output value. Is this possible in Acrobat? Thank you.

    Sure. A custom calculation script might look like:

    (function () {}

    Get the first value in the field, as a number

    var v1 = + getField("text1").value;

    Get the second field value, as a string

    var S2 = getField("text2").valueAsString;

    Converts a string to a number;

    var v2 = + s2

    Set this field to the sum value if the second field is not empty or if not equal to zero

    Event.Value = s2 & v2! == 0 ? v1 + v2;:

    })();

  • Different results from the same calculations between SQL and PL/SQL

    This SQL statement:
    select 1074 * (4 / 48) from dual;
    Gives the 89.5 result.
    However this PL/SQL block
    declare
        tmp     NUMBER;
    begin
        SELECT 1074 * (4 / 48) into tmp from dual;
        dbms_output.put_line('Result '||tmp);
    end;
    Gives a different result:
    Result 89.49999999999999999999999999999999999996

    If I change and give my variable tmp, a precision and scale, (38.36) say the result is 89.5.

    Ed. I did about 10g (10.2.0.4.0) and 11g (11.1.0.7.0) with the same result in both.

    Published by: kendenny on July 9, 2010 10:19 for more information

    What is your current value of NUMLARGEUR in SQL * more (I assume that you use as your tool)?

    SQL> set numwidth 50
    SQL> select 1074 * (4 / 48) from dual;
    
                                           1074*(4/48)
    --------------------------------------------------
             89.49999999999999999999999999999999999996
    
  • Oracle db bad result on the subquery error

    Hello

    I work with Oracle databases up to 10 g and I found an error and could not find any documentation on this subject yet. Maybe you can help me.

    The error is fairly easy to reproduce. If you run the following query in adapting the parameters that you should get a result, the problem is that you should get only an error!

    Select * from user_tab_columns
    where table_name in
    (
    Select table_name from < TABLE_B >
    );

    Parameter: TABLE_B
    Description: This must be an existing table in the schema that is not any field from the table table_name.

    As I said, the subquery is false, so if you try to run separately it fails. The problem is when you run the two together because, if the link field has the same name, it returns all the values in the table in the outer query.

    Do you know if this is solved a specific patch of 10g or 11g?

    Thanks in advance for your interest.

    Best regards
    Leo ([email protected])

    This isn't a mistake, given that table_name is a valid column in the external table name. If you start using table alias names in front of the column names, you will get the error.

    example of

    SQL> select * from user_tab_columns u
      2  where u.table_name in
      3  (select d.table_name from dual d
      4  );
    (select d.table_name from dual d
            *
    ERROR at line 3:
    ORA-00904: "D"."TABLE_NAME": invalid identifier
    

    What oracle is without any alias table corresponds to this selection:

    SQL> select count(*) from user_tab_columns u
      2  where u.table_name in
      3  (select u.table_name from dual d
      4  );
    
      COUNT(*)
    ----------
          3553
    
    SQL> 
    

    including.

    Published by: Sven w. on July 24, 2009 17:27

  • How to break through to the display of specific results using the navigation drill for?

    Hello

    I have two reports Rep1 and Rep2. I've set up navigation Rep1, Rep2 to drill by defining the column property to 'NAVIGATE' on Rep1 and have a 'GUEST IS' on Rep2.

    It was working fine when I tested it on OBIEE installing on my laptop. However, when I tried this on instance UAT one client I have the below question.

    Description of the problem: both Rep1 and Rep2 have multiple views. However, I need to drill the pivot view in rep1 to rotate the view in Rep2. I display the view of pivot since Rep1 on the dashboard page. However, whenever I try to break through to Rep2 he always exercises in table see REP2 but I want to drill to rotate the view in REP2.
    I tried to remove the table display in REP2 and then tried to navigate drill REP2. But now it does not display any view of Rep2.

    Is it possible to force display of pivot in REP2 drill to see to this navigation?

    BTW, if you go to your mode of Compound, what do you see for report 2? The PivotTable view is visible under the title of the view or is there anything under the title? There is a chance that you have a PivotTable that is configured, but you have not added to the compound mode and that you went straight to the Table to remove it. If so, you'd get your results. Please confirm that this is true or not.

  • Satellite M50 - bad signs using the keyboard

    Help, please

    I have a purchased Satellite M50 year last by a parent in Australia working for Toshiba.
    Day 1 the key functions have been unpredictable, but I've learned to live with the problem.
    For example hitting @ (case 2) product key "and vice versa (upper case") produces @"
    Pressing Shift and 3 product £

    # is a product of the slash key reverse. Press the backslash key and product update ~
    Now, I have discovered that no combination of keys produces a backslash and this presented a problem with some software mods, that I wanted to achieve.

    Here is the keyboard language settings simply false.
    I guess your laptop keyboard settings are set to English of the United States or the United Kingdom, you will have to change.

    Go to control panel-> regional & -> language tab, the language-> details-> settings tab options

    Here you can change the language of the keyboard in English (Australia, New Zealand, etc...)

    Could recommend check several languages until the right singing will appear.

    Best regards and happy new year

  • How to disable the Mode wheel on a scientific calculator, HP 17 b

    Hello - this is my first post on this forum. I am a new user of the scientific calculator, HP 17 b (our office prefers to use this older version of the calculator). I would like to know how to disable the mode wheel. If anyone can help?

    Thank you very much

    PV

    Hello

    I would just add that even if the 17B is labeled as a "business/financial calculator", the Solver is powerful enough:

    fun with the HP-17b:
    http://www.hpmuseum.org/cgi-sys/CGIwrap/hpmuseum/archv020.cgi?read=185590

    Random number generator:
    http://www.hpmuseum.org/cgi-sys/CGIwrap/hpmuseum/archv019.cgi?read=160386#160386

    sum the digits of a number (see the last message):
    http://www.hpmuseum.org/cgi-sys/CGIwrap/hpmuseum/archv020.cgi?read=206484

    calculate the checkDigit for HP-17b:
    http://www.hpmuseum.org/forum/thread-4432.html

    What follows is mentioned for the 17BII, but may work on the 17b:

    Mark N-ladies:
    http://www.hpmuseum.org/cgi-sys/CGIwrap/hpmuseum/articles.cgi?read=1025

    MM INCHES, M-FEET, MILES KM conversion:
    http://www.hpmuseum.org/cgi-sys/CGIwrap/hpmuseum/archv020.cgi?read=198391

    Best regards.

  • How can we make the Partition on the result using only sql?

    Hello

    How to make the partition on sql result using the query.

    sample
    BPREF_NO     BILL_MONTt AVG_IND     partition
    Q12345     1/31/2009     2     part1
    Q12345     2/28/2009     2     part1
    Q12345     3/31/2009     2     part1
    Q12345     4/30/2009     2     part1
    Q12345     5/31/2009     2     part1
    Q12345     6/30/2009     1     part1
    Q12345     7/31/2009     2     part1
    Q12345     9/30/2009     1     part2
    Q12345     10/31/2009     2     part2
    Q12345     11/30/2009     2     part2
    Q12345     1/31/2010     1     part3
    Q12345     2/28/2010     2     part3
    Q12345     3/31/2010     2     part3
    Q12345     11/30/2011     2     part4
    Q12345     2/29/2012     2     part5
    Q12345     3/31/2012     2     part5
    Q12345     4/30/2012     2     part5
    Q12345     5/31/2012     2     part5
    Q12345     7/31/2012     2     part6
    I want to create the partition column using the query
    from the logic below

    If bill_month is the sequence then it must create a partition and if the breaks we need to introduce the new partition.

    just for example...
    January 31, 2009 to July 31, 2009 is called part1
    August 30, 2009 to November 30, 2009 called part2
    like wise...

    is it possible to make the partition of the query itself.

    Please guide me in this regard

    Thanks in advance

    Iqbal
    with testdata as (
    select 'Q12345' BPREF_NO, to_date('1/31/2009','MM/DD/YYYY') BILL_MONTt,2 AVG_IND from dual union all
    select 'Q12345', to_date('2/28/2009','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('3/31/2009','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('4/30/2009','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('5/31/2009','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('6/30/2009','MM/DD/YYYY'),1 from dual union all
    select 'Q12345', to_date('7/31/2009','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('9/30/2009','MM/DD/YYYY'),1 from dual union all
    select 'Q12345', to_date('10/31/2009','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('11/30/2009','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('1/31/2010','MM/DD/YYYY'),1 from dual union all
    select 'Q12345', to_date('2/28/2010','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('3/31/2010','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('11/30/2011','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('2/29/2012','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('3/31/2012','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('4/30/2012','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('5/31/2012','MM/DD/YYYY'),2 from dual union all
    select 'Q12345', to_date('7/31/2012','MM/DD/YYYY'),2 from dual
    )
    
    select
      BPREF_NO
    , AVG_IND
    , BILL_MONTt
    , 'part'||
      sum (partition) over (partition by BPREF_NO order by BILL_MONTt)
      partition
    from (
    select
      BPREF_NO
    , AVG_IND
    , BILL_MONTt
    , case
      when months_between (BILL_MONTt, lag(BILL_MONTt) over (partition by BPREF_NO order by BILL_MONTt)) = 1 then
      0 else 1 end partition
    from testdata
    )
    
    BPREF_NO AVG_IND BILL_MONTT PARTITION
    Q12345 2 01/31/2009 part1
    Q12345 2 02/28/2009 part1
    Q12345 2 03/31/2009 part1
    Q12345 2 04/30/2009 part1
    Q12345 2 05/31/2009 part1
    Q12345 1 06/30/2009 part1
    Q12345 2 07/31/2009 part1
    Q12345 1 09/30/2009 part2
    Q12345 2 10/31/2009 part2
    Q12345 2 11/30/2009 part2
    Q12345 1 01/31/2010 part3
    Q12345 2 02/28/2010 part3
    Q12345 2 03/31/2010 part3
    Q12345 2 11/30/2011 part4
    Q12345 2 02/29/2012 part5
    Q12345 2 03/31/2012 part5
    Q12345 2 04/30/2012 part5
    Q12345 2 05/31/2012 part5
    Q12345 2 07/31/2012 part6 
    
  • Wrong answer of the Windows Calculator

    Scientific calculator option gives the answer of rigth for example, 2 + 3 * 4, it gives = 14, which of course is 2 + 12 = 14.   BUT the Standard Calculator option gives the WRONG answer = 20 WHY?   There is no media so tell arithmetic rules don't multiply it all first, then add.  It's so bad that children at the school and everyone will be getting wrong answers and affect their learning?  This is false in all versions of Windows why?

    Hello

    To add to the excellent info from Linney:

    The scientific calculator uses the hierarchy of mathematical operations and the Standard Calculator
    covers the features 1 both in the order entered.

    Hierarchy of mathematical operations
    http://www.tpub.com/content/DOE/h1014v1/CSS/h1014v1_36.htm

    http://www.tpub.com/content/DOE/h1014v1/CSS/h1014v1_37.htm

    ---------------------------------------------------

    Karen - free Calculator - calculator precision
    http://www.KarenWare.com/PowerTools/ptcalc.asp

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for