|
-
Mar 2nd, 2009, 09:55 AM
#1
What is this character?
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?
Code:
Dim d As Double = 3 + 4 * 2 / ( 1 − 5 ) ^ 2 ^ 3 'bad
Dim d As Double = 3 + 4 * 2 / (1 - 5) ^ 2 ^ 3 'good
-
Mar 2nd, 2009, 10:00 AM
#2
Re: What is this character?
-
Mar 2nd, 2009, 10:39 AM
#3
Re: What is this character?
ok, that helped, but the unicode character decimal value is 8722, which i didn't see listed.
edit - is it the minus sign?
Last edited by dbasnett; Mar 2nd, 2009 at 10:48 AM.
-
Mar 2nd, 2009, 06:56 PM
#4
Re: What is this character?
Looks like it is, character U+2212 (minus sign) has the decimal value 8722.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|