Click here to Skip to main content
14,327,888 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Microsoft calculator - new math rules? Pin
miki-bgd28-Jun-19 5:46
membermiki-bgd28-Jun-19 5:46 
GeneralRe: Microsoft calculator - new math rules? Pin
Richard Andrew x6428-Jun-19 16:22
professionalRichard Andrew x6428-Jun-19 16:22 
GeneralRe: Microsoft calculator - new math rules? Pin
Dr.Walt Fair, PE29-Jun-19 7:25
professionalDr.Walt Fair, PE29-Jun-19 7:25 
GeneralRe: Microsoft calculator - new math rules? Pin
jackbrownii28-Jun-19 4:51
professionaljackbrownii28-Jun-19 4:51 
GeneralRe: Microsoft calculator - new math rules? Pin
David O'Neil28-Jun-19 6:03
professionalDavid O'Neil28-Jun-19 6:03 
GeneralRe: Microsoft calculator - new math rules? Pin
k505428-Jun-19 6:56
memberk505428-Jun-19 6:56 
GeneralRe: Microsoft calculator - new math rules? Pin
CodeWraith28-Jun-19 6:50
memberCodeWraith28-Jun-19 6:50 
GeneralRe: Microsoft calculator - new math rules? Pin
OriginalGriff28-Jun-19 4:18
protectorOriginalGriff28-Jun-19 4:18 
No, it's the way a "standard" calculator works.
1 + 3 * (evaluate so far gives 4) * 3 = 12.

"Proper" calculators use operator precedence, but unless they come with parentheses the statndard ones don't.

If you try it on Android's Calculator app, it evaluates as it goes:
1 + 3
    4
but then uses precedence:
1 + 3 x
      4

1  + 3 x 3
        10
(But that has parentheses!)
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Microsoft calculator - new math rules? Pin
DerekT-P28-Jun-19 4:33
professionalDerekT-P28-Jun-19 4:33 
GeneralRe: Microsoft calculator - new math rules? Pin
OriginalGriff28-Jun-19 4:48
protectorOriginalGriff28-Jun-19 4:48 
GeneralRe: Microsoft calculator - new math rules? Pin
miki-bgd28-Jun-19 5:46
membermiki-bgd28-Jun-19 5:46 
GeneralRe: Microsoft calculator - new math rules? Pin
DerekT-P28-Jun-19 10:02
professionalDerekT-P28-Jun-19 10:02 
GeneralRe: Microsoft calculator - new math rules? Pin
Nelek28-Jun-19 11:04
protectorNelek28-Jun-19 11:04 
GeneralRe: Microsoft calculator - new math rules? Pin
kmoorevs28-Jun-19 5:03
memberkmoorevs28-Jun-19 5:03 
GeneralRe: Microsoft calculator - new math rules? Pin
Member 798912228-Jun-19 5:06
memberMember 798912228-Jun-19 5:06 
GeneralRe: Microsoft calculator - new math rules? Pin
miki-bgd28-Jun-19 7:11
membermiki-bgd28-Jun-19 7:11 
AnswerRe: Microsoft calculator - new math rules? Pin
lopatir28-Jun-19 5:30
memberlopatir28-Jun-19 5:30 
GeneralRe: Microsoft calculator - new math rules? Pin
MadMyche29-Jun-19 2:47
mveMadMyche29-Jun-19 2:47 
GeneralRe: Microsoft calculator - new math rules? Pin
Eddy Vluggen29-Jun-19 6:42
mveEddy Vluggen29-Jun-19 6:42 
GeneralRe: Microsoft calculator - new math rules? Pin
Dr.Walt Fair, PE30-Jun-19 4:23
professionalDr.Walt Fair, PE30-Jun-19 4:23 
GeneralLooking for a job Pin
GenJerDan28-Jun-19 1:27
memberGenJerDan28-Jun-19 1:27 
JokeRe: Looking for a job Pin
Peter_in_278028-Jun-19 2:11
professionalPeter_in_278028-Jun-19 2:11 
GeneralRe: Looking for a job Pin
CodeWraith28-Jun-19 2:19
memberCodeWraith28-Jun-19 2:19 
GeneralRe: Looking for a job Pin
glennPattonWork28-Jun-19 2:51
professionalglennPattonWork28-Jun-19 2:51 
GeneralRe: Looking for a job Pin
lw@zi 28-Jun-19 3:19
professional lw@zi 28-Jun-19 3:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.