Thread: Qalculate!
View Single Post
Posts: 59 | Thanked: 15 times | Joined on Feb 2008
#43
Originally Posted by Gourmand View Post
sqrt((12 in)^2 + (45 cm)^2) will give proper result but
sqrt(12 in^2 + 45 cm^2) will be calculated as sqrt(12 * (in^2) + 45 * (cm^2))
I would say that the way Qalculate does it is the reasonable way. The exponent should take precedence over the multiplication, and I would expect "12 in^2" to be "12 square inches" by default.