The fuck? I'm getting 15.
Interesting that Excel sees =6/2(1+2) as an invalid formula and will not calculate it (at least on mobile). =6/2*(1+2) returns 9 because it's executing the division and multiplication left to right (6/2=3*3=9).
Google Sheets (mobile) does't like it either and returns an error. =6/2*(1+2) also returns "9".
You state that the ambiguity comes from the implicit multiplication and not the use of the obelus.
I.e. That 6 ÷ 2 x 3 is not ambiguous
What is your source for your statement that there is an accepted convention for the priority of the iinline obelus or solidus symbol?
As far as I’m aware, every style guide states that a fraction bar (preferably) or parentheses should be used to resolve the ambiguity when there are additional operators to the right of a solidus, and that an obelus should never be used.
Which therefore would make it the division expressed with an obelus that creates the ambiguity, and not the implicit multiplication.
(Rest of the post is great)
Memes
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.