Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get a value from a 64bit integer
#1
Does anyone know how to access a 64bit integer in a library? If I'm right can't I use a UDT with two integers for the lo and hi value? How can I access the actual value?
Reply
#2
Well you could multiply the first number by 2147483648 + the second number and store that in a DOUBLE or something. :-)
hen they say it can't be done, THAT's when they call me ;-).

[Image: kaffee.gif]
[Image: mystikshadows.png]

need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com
Reply
#3
See http://www.bitrake.com/phpBB2/viewtopic.php?t=62 for some excellent 64-bit integer manipulation code. You should be able to use the divide and modulus functions to write an int64 -> string converter pretty easily.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)