none
how to do mathematical operations with float hex? RRS feed

  • Question

  • Is it possible to do mathematical operations with float point hex? for example:

    AEF7D.C9B  +  9CCD.ED8

    1101E0.0A -  FCDAC.AEB

    Thanx!
    Monday, August 26, 2013 3:00 PM

Answers

  • You'll have to convert to Decimal or Double or Single.  You can't use Parse(String, Hexnumber) with any of them, so you'll have to write your own converters.


    • Edited by JohnWein Monday, August 26, 2013 6:50 PM
    • Marked as answer by Damon Bu - MSFT Sunday, September 1, 2013 11:39 PM
    Monday, August 26, 2013 6:46 PM