The [https://www.desmos.com/scientific Desmos Scientific Calculator] handles our given equation correctly. The error checking appears to be built into the division key.
Entering the equation into a programming language, or low quality calculator, requires the explicit multiplication symbol and outer parenthesis to maintain value of the groupingparenthetical expression.
'''6÷2(1+2) == 6÷(2*(1+2))'''