Platforms to show: All Mac Windows Linux Cross-Platform

UInt64ToDoubleMBS(value as UInt64) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Math MBS Util Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Converts an UInt64 to Double.
Example
dim d as Double = 18446744073709541376
MsgBox str(d) // fails

dim e as Double = UInt64ToDoubleMBS(18446744073709541376)
MsgBox str(e) // works

Xojo likes to use Int64 internally when doing math with UInt64, so we added this method to fix it.

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...