![]() ![]() ![]() Here is my code for cuaculating percent: if (operateString.equals(ADD)) else if (operator. ![]() Likewise the behavior of % button changes for MULTIPLY, MINUS or SUBTRACT & DIVIDE.Į.g enter 50 then press -(subtract) enter 5 then press % answer equals 47.5.īasically on add function (num1 = 50, num2 = 5) num1 + num2 when I press % button num2*0.01*num1+num1 this calculation takes place. All clear button clears the calculator, tape, and resets any functions. you hold your set button down for three seconds until set shows again. I have Calculator code in which I want to implement Percent (%) button function like how it is used in actual (casio,citizen etc) calculators.Į.g enter 50 then press +(add) enter 5 then press % answer equals 52.5. as I use my calculator function percentage - Casio FX-9750GII Graphing. A complex use of the Mark-Up key is to calculate a desired margin percentage based on the result of the calculation (as opposed to the input number). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |