Results 1 to 4 of 4

Thread: What is this character?

  1. #1

    Thread Starter
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    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
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: What is this character?

    See Dash.

  3. #3

    Thread Starter
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    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.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    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
  •  



Click Here to Expand Forum to Full Width