numberformat question

Mark Wieder ahsoftware at sonic.net
Mon Mar 22 13:00:32 EDT 2021


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
  ahsoftware at gmail.com




More information about the use-livecode mailing list