1 Reply Latest reply on Apr 4, 2017 3:27 PM by jeromiec83223024

    Equivalent of java Double.toLongBits(x)

    Developer LFM

      Hi,

       

      I need the equivalent of java Double.toLongBits(x), I know Number has the same implementation of Java/.net IEEE-754, there are some implementations on web, but I'm sure there must be something internal on Number to do this.. no? like a Number.toString() but for the 64 bit representation of the number?

       

      Do I have to write the number to a buffer and read it again? how do I do this?

       

      Thank you