Odd Calculator Issue - Wrong Answer??

A friend of mine was working on something yesterday afternoon and used his original iphone calculator to check 197/14.......the calc returned 1. I tried the same on my 3g and it returned a 1 for me too. In fact we both tried several times during the afternoon with the same result.
Today I checked again and it returned the correct answer..........14.0714286.
Seems odd to have intermittent "wrong" answers and definitely makes me wary of trusting calculator for anything. Any ideas?

Computers are usually deterministic, so the most likely reason is that you both made an entry error yesterday.

Similar Messages

  • Calculator gives wrong answer

    Imac 2,7 GHz Core i5. Mavericks updated. Calculator 10.8. I enter 10+10/2 and get 15. I enter 10+10= and get 20. I then divide result by two and get correct answer-10. But. Calculator broke the result (20) into 10+10 then divided by 2. (See entry 3 in Paper Tape). Simple 20 divided by 2 computes the correct answer-10. See Screen Capture. Any thoughts.

    Check the link below.
    http://www.mathgoodies.com/lessons/vol7/order_operations.html

  • Java Calculator, Minus & multiplication button gets wrong answer?

    import java.awt.event.*;
    import java.applet.Applet;
    import javax.swing.*;
    import java.awt.*;
    public class calc extends JApplet implements ActionListener
         JTextField input = new JTextField("");
         JButton numbers[] = new JButton[10];
         JButton add = new JButton("+");
         JButton equals = new JButton("=");
         JButton minus = new JButton("-");
        JButton multiply = new JButton("*");
        JButton divide = new JButton("/");
        JButton clear = new JButton("AC");
         int num1 = 0;
         int num2 = 0;     
         String oper = " ";
         public void init()
              setLayout(null);
              setBackground(new Color(227,131,125));          
              Design();
         public void Design()
              int x = 1;
              int y= 1;
              int wi = 10;
              int he = 50;
              input.setSize(250,30);
              input.setLocation(10,10);
              add(input);
              add.setSize(80,30);
              add.setLocation(280,50);
              add.addActionListener(this);
              add(add);
              minus.setSize(80,30);
              minus.setLocation(280,90);
              minus.addActionListener(this);
              add(minus);
              multiply.setSize(80,30);
              multiply.setLocation(280,130);
              multiply.addActionListener(this);
              add(multiply);
              divide.setSize(80,30);
              divide.setLocation(280,175);
              divide.addActionListener(this);
              add(divide);
              equals.setSize(80,30);
              equals.setLocation(190,175);
              equals.addActionListener(this);
              add(equals);
             clear.setSize(80,30);
              clear.setLocation(100,175);
              clear.addActionListener(this);
              add(clear);
              while(x<=10)
                   if (x==10)
                   numbers[x-1] = new JButton("0");
                   numbers[x-1].setSize(80,30);
                   numbers[x-1].setLocation(wi,he);
                   //numbers[x-1].setBackground();
                   else
                   numbers[x-1] = new JButton(Integer.toString(x));
                   numbers[x-1].setSize(80,30);
                   numbers[x-1].setLocation(wi,he);
                   wi = wi + 90;
                        if(x%3==0)
                             he = he + 40;
                             wi = 10;
                   numbers[x-1].addActionListener(this);
                   add(numbers[x-1]);          
                   x++;
         public void actionPerformed(ActionEvent act)
              int x = 0;
              while(x<10)
                   if(act.getSource().equals(numbers[x]))
                        if(x==9)
                             input.setText("0");
                        else                    
                        input.setText(Integer.toString(x+1));
                   x++;
              if (act.getSource().equals(add))
                   num1 = Integer.parseInt(input.getText());
              else if(act.getSource().equals(equals))
                   num2 = Integer.parseInt(input.getText());
                   input.setText(Integer.toString(num1 + num2));
                   if (act.getSource().equals(minus))
                   num1 = Integer.parseInt(input.getText());
                   oper = "minus";
              else if(act.getSource().equals(equals))
                   num2 = Integer.parseInt(input.getText());
                   if(oper.equals("minus"))
                        input.setText(Integer.toString(num1 - num2));
                   if (act.getSource().equals(multiply))
                   num1 = Integer.parseInt(input.getText());
                   oper = "multiply";
              else if(act.getSource().equals(equals))
                   num2 = Integer.parseInt(input.getText());
                   if(oper.equals("multiply"))
                        input.setText(Integer.toString(num1 * num2));
    The addition button is working, but i cant seem to make minus and multiply button work, they get wrong answer when i use them.. what could bee the problem with my code

    Sorry, but I don't see a simple fix in this code here (Hopefully I'm wrong and someone else will see this, but I don't) Because of this, I recommend that you fully scrap this code and start over from square one. I don't think that you really "see" your logic here. To help you see what you are trying to do, you need to separate your logic from your GUI. Try to build a non-gui calculator that works via simple console menu. Once you get this working, then use this code to create a GUI calculator.

  • Formula calculation showing wrong data.

    Hi All,
    I have an issue in the formula calculation at BEx.
    I have a formula2 whose values is formula1/RKF * Constant.
    formula2=formula1/RKF * Constant.
    Formula1    formual2        RKF             constant
    73.00          25.63            80.00         28
    The error is the actual value of  formula2 to be a
         formula2 = 73.00/80.00 * 28
                      =25.33
    But in report result it is displaying as 25.63.
    for some different values it is showing very different result.
    can any one tell me how to round of this value to avoid confusion
    regards,
    santosh.

    Santosh,
    rounding off the result will not solve your problem. In your scenario, the actual result is 25.33 and rounding it off will be 25.
    Now BI is showing you a value of 25.63 and rounding it off will give you 26. This will still give you the wrong answer.
    You can go to the properties for the formula and in the display properties, you can change it 0 decimal places instead of 2. This is just a interim solution.
    Regards,
    Sameer

  • Ranch Billing, the excise condition type JMOD calculation is wrong

    Hi
    I wish to know that in case of Branch Billing, the excise condition type calculation is wrong!!
    I am surprised and unable to know how it could be?
    In billing document display (T.code VF03) , Out of 3 Line items, Basic Excise Duty of 2 line items/ Materials were wrongly calculated.
    i.e. In Item level Condition Overview---> the excise condition type JMOD --> details -->
    Amount                   10.000  %
    Cond.base value            79,077.85  INR
    Condition value             5,733.14  INR
                                                                                    Alt.calc.type   355
    Ideally, It must be 7907.85 INR instead of 5733.14 INR wrong value.
    Please help me to know the possible reason.
    Thanking you.
    PP

    Check the condtion value in condition type UTXJ . If the JMOD value is 10% of UTXJ then assessable value should have been maintained for the Material and Plant combination in J1ID. This is due to Routine 351 maintined in pricing procedure for the condition type UTXJ
    check and confirm
    Senthils

  • Odd font issue with Safari, iWeb

    Ok, so I've been having this odd font issue with Safari for quite a while now, and I haven't been able to fix it. Some text on several different websites come up in a different font than the default font for Safari. I've tried changing the default font to something else, changing the text encoding and nothing. This has been happening with several releases of Safari.
    Now, last night I discovered the same thing is happening with iWeb. Some of the text fields come up with the same font as the one in Safari! I don't even know which font it is. So somehow these are linked.
    I'm at work right now, but I can get a screen shot of the font once I get home.
    Any ideas on how to remedy this?

    Hi Tom, thanks for the response. I tried searching for those two fonts in my font book and they weren't in there. See below for screen shots of the odd text I'm getting:
    iWeb
    Uploaded with plasq's Skitch!
    Safari
    Uploaded with plasq's Skitch!
    If anyone can help resolve I'd greatly appreciate it. As much as I like Safari, this odd font makes me close Safari after a few mins of browsing =\

  • FI posting baseline calculation is wrong.

    HI expart.
    in userexit_fill_xkomk1how to imlplennt for sap note -112385 for baseline calculation is wrong.
    What i will do for baseline calulation is coming as creation date.
    Thanks
    Dhirendra.

    Hi,
    By any chance, did the user enter march date in FB08 screen ?
    Best Regards,
    Madhu

  • HT5312 My stops because of the wrong answer to the secret question, and I want to use it for evil application from Apple Store?

    My stops because of the wrong answer to the secret question, and I want to use it for evil application from Apple Store?

    Hello mr sami,
    Thank you for the details of the issue you are experiencing with your security questions.  I found an article with some useful information if you cannot remember the answers to your security questions:
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers.
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
    contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    You can find the full article here:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    If you continue to have issues, please contact our Account Security Team as outlined in this article:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Essbase Calculation issues from version 6 to 7

    Hi does any one know are there any calculation issue with essbase BSO cacl engine from version 6 to 7. Cube which calculates fine on 6 verison never ends to finish on version 7, does any one have ideas about number of max generations and levels possible under dense dimension in verison 7

    Not sure if it was a 6.5.1 to 7.1.5 issue, or if it was that 6.5.1 was on Win2K and 7.1.5 is on Solaris 5.9. But, I had one calc script that for total company on Windows and 6.5.1 ran in about 2 1/2 minutes, but same calc on same outline on Solaris and 7.1.5 ran in over 2 hours.
    Hyp support was able to offer some suggestions on Unix settings, and some undocumented script features that got the runtime down to around 10 minutes, but didn't get any farther than that.
    Luckily for me there also was some functions that were not resolving correctly in the script so I had to take the functions out (turned a 100 line script into an 800 line script), and wouldn't you know it that fixed the slow run time as well.
    Message was edited by:
    RobertR

  • Odd Reporting Issue (ENTERPRISE)

    I have a client with some users experiencing a rather odd reporting issue. The report runs fine, but only shows values for the totals and not the line items that make up the total.
    For example, when I run the report (logged in as admin as well as under their ID), I see:
    Net Sales 1,234
    Cost Of Sales (1,111)
    Gross Margin 123
    When they log in on their machine, they see:
    Net Sales
    Cost Of Sales
    Gross Margin 123
    Very odd. I figured maybe it was an application setting, but the INI didn't look off anywhere particular.
    They are running Enterprise 6.3.1 (yeah, insert comment here on the upgrade needed).
    Any thoughts???

    Check their Effective rights, and reset them, that has worked out for me. Otherwise, try copying the user and paste it as a new user and retest; I had to delete users and recreate them to correct problems of this nature.

  • Able to advance past question with wrong answer

    The following applies to a multiple choice question in Captivate 3.0.1 Build 589. You are able to advance through a question even if you have selected the wrong answer by doing the following:
    Answer a question incorrectly. A box saying "Try Again" pops up.
    Press the previous button on the Captivate navigation bar to go to the previous slide.
    Press the next button on the Captivate navigation bar to advance to the question slide. The incorrect answer is still selected.
    Press the next button on the Captivate navigation bar while the incorrect answer is still selected.
    Captivate advances, even though you have not answered the question correctly.
    This is a major issue for me for two reasons. A) It allows learners to advance without demonstrating that they learned what we are trying to teach them, and B) It actually misinforms learners by letting them advance with the wrong answer selected, so they may actually believe that what they answered is correct.
    Does anyone else have this problem? Anyone have any ideas how I can fix it?
    Thanks very much for your help,
    Marc

    Marc,
    Do you know what wrong answer options you have selected? If you do not want the user to advance when they select a wrong answer, you can make sure they do not. On the question slides of interest, go to Edit Question. Select Options. Under "If wrong answer" section, select Infinite attempts. Now the user will not be able to advance until he/she gets the answer correct. The only side note on this is the user will get the Incorrect Answer message only one time. After that there are no response message until the correct answer is chosen. Hope this helps.
    Darin

  • Why java gives wrong answer

    float f=40.3f;
    System.out.println(f%4);
    The answer for above must be 0.3 but java gives 0.29999924
    WHY????
    (This answer is ok for small calculations but it may give wrong answers for large calculations)

    float f=40.3f;
    System.out.println(f%4);
    The answer for above must be 0.3 but java gives
    0.29999924
    WHY????
    (This answer is ok for small calculations but it may
    give wrong answers for large calculations)Use BigDecimal with MathContext or roll your own Fraction class- this way any repeating decimal is represented exactly.
    Message was edited by:
    snic.snac

  • Reviewing Slides On Wrong Answer?

    When in questions is there a way of reviewing previous slides when a wrong answer is given; for example:
    A standard presentation of 50 slides is viewed and then candidates are taken to the question slides
    If question 1 is answered correctly it moves onto question 2
    if question 2 is answered incorrectly the candidate is then taken taken to the relevant slide (say slide 30) and returned to question 2 for another attempt.
    The only way I have managed to do this so far is to do a slight workaround by changing the way the reporting works i.e. duplicating the relevant reiew slides and putting them after the question slides.  Unfortunately this means the only way I can record their scores is to show quiz attempt not the native scoring results because on each review (out of the quiz) it resets the scores and shows an overall quiz fail for each wrong answer.  This obviously isn't the correct way of reporting quiz scores i.e.
    Number of questions set
    Incorrect answers
    Correct answers
    Percentage
    Pass/Fail
    This means that using this workaround I'm not getting the level of reporting normally available
    So my question is simply, is there a proper way I can record the correct scores and still retain the ability to review wrong answers?  This approach encourages a pro-active way to learn instead of penalising people for incorrect answers and allows them to learn without having to sit through a long presentation more than once - hence me wanting keep this style and be able to get full featured reporting.
    I apologise if I'm being a little long-winded in my explanation or indeed if I'm missing something pretty basic with the software.
    Many thanks in advance for anyone that may be able to help me with this
    Kind regards
    Martyn

    Hello Martyn
    Do not know if this has anything to do with etiquette, just did not know if you were asking me or the other user more help.
    As we both explained: with the Question slides that are in CP (will call them the default Quiz slides) this will not be that easy. You will have to give a lot of attempts for the Quiz to the user to make this possible. There is no way to change the system variables that store the score (such as cpQuizInfoTotalProjectPoints). If you want to realize your workflow you need to construct the Question slides yourself. That is why I offered some articles I published about this subject in CP5.
    You are not the first to ask for this kind of workflow, plan to work out an example but that will not be done today because of other priorities (some exams to be graded are waiting for me). The idea in steps is:
    Create your question slides using non-interactive objects like text captions, images and interactive ones buttons, text entry or click boxes (that get a score); this will not be possible for all kind of Question types, dragging p.e. as for matching or sequence questions is not possible, hotspot is possible.
    Be sure that all slides (to be reviewed before giving a second answer after an incorrect answer) are in the quizzing range (between first scored 'thing' and the score slide)
    On incorrect answer, create an advanced action that jumps to the slide(s) to be reviewed; on finishing those slides have an action that returns them to the question slide.
    On re-entering the question slide, re-initialize the score (to 0 if there is no 'penalty' because of the review) so that the user can answer again.
    Is this the workflow that you want? Which kind of question slides are you using? Is there a 'penalty' if the review possibility is used, I mean is the score that can be obtained lower than the first one?
    Lilybiri

  • Captivate 4 - Go back a screen and Wrong answer wont pick up

    Captivate 4 is driving me mad !
    Got a large course in Cap 4, system training, theres various click area interactions.
    If i preview the slides in Captivate or publish it i get the same bug...
    I'm asked to click on a button, i click away and get the wrong answer feedback. All fine, i click on the button and i move to the next screen.
    If i then click on back to go to the previous slide, if i try to click away to get the wrong answer it never comes up.  The hotspot is there so if i click on the button which its over i can go forward.  But for some reason the wrong answer feedback never appears a second time.
    I've deleted it, added a new one, same as before, just W/A feedback, checked to 'infinite attempts' but it only seems to appear once.  If i go back to the page and get the wrong answer nothing !
    Got a major deadline coming up soon, dont expect this basic bug to be appearing, never had these problems in Cap 3.
    Arrgh.  Any ideas ?

    Not sure that I can help on this, but I have a general clue.
    In general, you must go forward to go backward when scoring.  The <BACK button is not what I am referring to.  Try an interim slide that is AFTER your scored interaction.  It might provide a message like:  Thank you for trying, but your answer was not correct on the first try.  Click Continue to review that concept again...     CONTINUE
    The Continue button is the link back with the GoTo feature of the button.
    You can also GoTo slides before the interaction to prep them.
    I am not sure about this for interactions (it is true for Quizzes)... Use Must take Quiz to Continue should be enabled for Quizzes in the global settings.
    Hope this helps
    Joe C.

  • Resetting Wrong Answers only in a Drag and Drop Interaction

    Hello All,
    What I would like to see in the interaction is  -
    Learner drags items to a specific location
    clicks submit to check answers
    only the wrong answers reset to the original screen location
    feedback displays
    Learner trys again and repeats until all items are in the correct location.
    Is this scenario possible with the drag and drop?  I can get everything but the "only the wrong answers reset" to work.
    Any help would be greatly appreciated.
    Thank you in advance
    Kelli

    Not possible. Same as for normal question slides: Reset will reset everything. You can have the wrong answers getting back immediately, but it will not wait for Submit in that case.

Maybe you are looking for

  • I am in trouble any one can solve my problem

    sir i make a jar file name abc.jar which contain a folder named images. images have one property file i read to try it but still fail so the path is abc.jar\images\user.properties i use the following code try{ URL u1=null; Properties prop=new Propert

  • How do you make .aiff the default file format to send to iTunes

    I am using Garagebend 10.0.2 to edit my audio (nothing fancy just cutting peices I do not want out) and when I go to Share>Song to itunes the default is AAC. I want the default to be .aiff. There is nothing in preferences that allows me to change the

  • No images from timeline on output monitor?

    After installation CC: "Premiere Pro, Audition, After Effects and Photoshop", when I play from the timeline in Adobe Encore CS6, the output monitor gives only sound no images? We have already install the newest drivers from Matrox. Please tell me wha

  • FM for fetching partners corresponding to project

    Hi, Is there any Fm for fetching  the partners ( BP) corresponding to a project which is stored in table cgpl_project. Thanks, Swati.

  • My Mac just burned

    Has anyone ever had their Mac burn. I mean really burn up? I was working with iphoto when I smelled electrical heat. After pulling all the plugs in the room, I thought the smell was coming from the desk lamp. MY mac went pop and black. The smell was