dbasnett
Mar 2nd, 2009, 08:55 AM
i was testing my string calculator and found this
3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3
here - http://en.wikipedia.org/wiki/Shunting_yard_algorithm
the formula failed in the calculator and it was because of this − , which is not this - character. what is it?
Dim d As Double = 3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3 'bad
Dim d As Double = 3 + 4 * 2 / (1 - 5) ^ 2 ^ 3 'good
3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3
here - http://en.wikipedia.org/wiki/Shunting_yard_algorithm
the formula failed in the calculator and it was because of this − , which is not this - character. what is it?
Dim d As Double = 3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3 'bad
Dim d As Double = 3 + 4 * 2 / (1 - 5) ^ 2 ^ 3 'good