Jump to content

integer or text ?


manix

Recommended Posts

Integers.

 

ASCII is 8 bits per character. Each time you add a bit to an integer, the maximum size double.

 

String '1319129364' = 80 bits.

Integer 1319129364 = 31 bits.

 

Keep in mind, the largest signed integer is ~2^31

The largest unsigned integer (no negatives) is ~2^32

Link to comment
https://forums.phpfreaks.com/topic/249472-integer-or-text/#findComment-1280890
Share on other sites

Archived

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

×
×
  • Create New...

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.