Am I using arrayFindAll wrong - not giving me what...
# cfml-general
a
Am I using arrayFindAll wrong - not giving me what I'd expect https://trycf.com/gist/80f1892b45db66a4153ae182d17b4003/acf2023?theme=monokai
n
It might be that CF is converting them to a floating-point representation: Numbers larger than
2^53
(about 9 x 10^15) cannot be represented accurately by a
Double
You could just wrap/convert the numbers to strings?
💯 1
a
Yeah, I think that's what is happening but it seems like a bug to me
b
Yeah, I assume those are too big to be stored in a Double
Run it on LUcee 6 and it works 🙂
👍 1
Lucee 6 uses BigDecimal for all numbers
I assume precision evaluate would work as well, but it's disabled on trycf