Answer the question
In order to leave comments, you need to log in
Why is the sum of the numbers 18014398509481984 and 18014398509481984 equal to 36028797018963970 in Javascript?
I came across the calculation difference between PHP(and also Python) and javascript.
I tried this sum of numbers in PHP and in Phyton, where this sum is equal to 36028797018963968.
But in javascript for some reason it is equal to
36028797018963970
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question