Platforms to show: All Mac Windows Linux Cross-Platform
CompareNumbersMBS(v1 as Variant, v2 as Variant) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Math | MBS Util Plugin | 20.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The goal: compare numbers better than Xojo.
Especially UInt64/Int64 edge cases.
We treat nil as 0 value and ptr as UInt64.
If first argument is string, we just compare both as string. If first argument is numeric and second argument is string, we convert second one to number.
Blog Entries
The items on this page are in the following plugins: MBS Util Plugin.