Qbasicnews.com

Full Version: Get a value from a 64bit integer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Well you could multiply the first number by 2147483648 + the second number and store that in a DOUBLE or something. :-)
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.