Converting Hex Fraction to Dec

Tech-Archive recommends: Fix windows errors by optimizing your registry



How might I convert a string like 10.A (in hex) to it's decimal equivalent?
Basically I have an input string like ((1F.A + 3A.D) - 1F.E) and need to
calculate the result. Using Reflection and dynamic compilation, I was able
to create a VB.NET equivalent of the older Eval function, but it only works
with decimal numbers.

Any thoughts? I know the logic to convert, but I was hoping for some
built-in .NET methods that I could leverage

jeff


.



Relevant Pages

  • Re: 0x800700B6 error message
    ... >>You could also try searching for the decimal equivalent of that hex value. ... >>Unfortunately nobody will tell me whether the hex value is to be interpreted ...
    (microsoft.public.windowsupdate)
  • Re: hex to int
    ... Bill Cunningham wrote: ... stuck. ... Input should be a hex number like fff or 0xfff and convert it ... to the decimal equivalent. ...
    (comp.lang.c)
  • Re: hex to int
    ... Bill Cunningham wrote: ... stuck. ... Input should be a hex number like fff or 0xfff and convert it ... to the decimal equivalent. ...
    (comp.lang.c)
  • Re: hex to int
    ... Input should be a hex number like fff or 0xfff and convert it to the ... decimal equivalent. ... int main(int argc, char **argv) ...
    (comp.lang.c)