On 3/22/21 9:39 AM, Sean Cole (Pi) via use-livecode wrote:
JS should use exactly the same standard as LC
https://www.avioconsulting.com/blog/overcoming-javascript-numeric-precision-issues
2^53, same in JS as LC. IEEE 754
Right. To get any more precision you'll have to stringify the
calculations, and Craig has already posted a link to MaxV's excellent
set of functions for this.
Someday maybe we'll get that decimal math library shoehorned into place
and then we can look back on these days and laugh.
--
Mark Wieder
[email protected]
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode