Dumb Question about Math
alert(('55' - 22) / '11' + '2')
So in the case it would fall out to:
33 / 112 = 0.2946 ?
55-22 = 33 / 11 = 3 + '2' = 32.
If you had added parenthesis around the denominator, you would have gotten the result that you had expected:
alert(('55' - 22) / ('11' + '2'))
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)