Does 3999999991 mean anything logical?

I have a PHP-based web application that performs calculations on a series of numbers and normalizes them by subtraction, so the last number in the series is always 1.

a series of numbers turns into json strings and is stored in dynamodb

Sometimes my code shows the number -3999999991 instead of a number, which should be 1 or a very small positive number.

Does this number mean? like overflow or something related to json string processing?

+7
source share
1 answer

This number means nothing to me on purpose, but I saw something like this when trying to save a BIGINT in an INT field in mysql. I have always had a very long number.

Is a number displayed when you look at values ​​at runtime or only when you look at db afterwards? If sometimes they are only in db, the value becomes too large for the field.

+1
source

All Articles