1 Reply Latest reply: Apr 10, 2013 1:03 AM by EJP RSS

    convert a double to 4 bytes

    AbhishekJ
      I need to translate a double to an array of 4 bytes. I have been doing that for a long value for some time now (converting it to a 4 byte integer and then converting to a byte array, of course it means it reduces the maximum value that can be passed in that long variable). But how do I do the same for a double?