Converting Hex Fraction to Dec
- From: "Jeff Dillon" <jeffdi@xxxxxxxxxxx>
- Date: Thu, 12 Oct 2006 13:16:42 -0700
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
.
- Follow-Ups:
- Re: Converting Hex Fraction to Dec
- From: Stephany Young
- Re: Converting Hex Fraction to Dec
- Prev by Date: Re: "Optional" reference?
- Next by Date: TableAdapter relation
- Previous by thread: Copying cells to successive rows in Excel
- Next by thread: Re: Converting Hex Fraction to Dec
- Index(es):
Relevant Pages
|