php json_encode adds decimal to integer?

52 Views Asked by At

I tested it, but it's like this in only one part

As integer 125398460000 goes through json_encode

I've seen it change to 125398459999.99998.

125398460001 or 125398470000 did not.

Am I mistaken now?

Any guesses as to why this happened?

0

There are 0 best solutions below