On Apr 23, 2007, at 5:15 PM, Andrew Keller wrote: > Is there a standard or accepted method of diving two UInt64 numbers > and getting a double? > > For example, 500000000000000 / 1000000000000000 equals 1 (dividing > two UInt64 values makes a UInt64 answer), however I would like to get > 0.5. Is there any way to do this? >
Convert them both to Double, then divide. Charles Yeomans _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
