Jump to content


This topic is now archived and is closed to further replies.


**solved** integers and floats

Recommended Posts

Why can integers only hold a certain number, it's max number is
from this point it is converted to a float.
What is the point of this, does it have somethign to do with float being used also for fractions, or is there another reason, why the developers of php choose to make it's max number, that specific number
And excuse me for saying htis
but what is jan 1 whatever year
i Have heard this everywhere with every program language, the "magical year" is january first, of some old long lost date, what does that have to do with.

Share this post

Link to post
Share on other sites
1 ) 2147483647 is max than can be held in 4 bytes with a sign bit. ( = 2^31 - 1).

2 ) Unix times are stored in seconds since 1970-01-01 00:00:00

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.