Search:

Type: Posts; User: keepStriving

Search: Search took 0.19 seconds.

  1. Replies
    3
    Views
    1,235

    Re: Double to Hex

    Is there any way in which I can get rid of the p so it does not print the hex string to the exponent?

    Basically I want it to print 0x41efd17834000000 instead of 0x1.fd17834p31.
  2. Replies
    3
    Views
    1,235

    Double to Hex

    I am trying to convert the double 4270571936.0000000000d to a hex string using Double.toHexString() and the answer I'm getting is 0x1.fd17834p31, what does p stands for?

    The answer I'm expecting...
Results 1 to 2 of 2