BUY A SHIRT!
The ED TShirt Shop is open for business! Use discount code ED2009 for 10% off! Click here to shop.
ED5 Pollfest is going on now! Register a forums accounts and help us find the best article in the five year history of Encyclopedia Dramatica. For today's poll, go here!
Thanks to Kale for donating $666, and he wants to remind you all to nevar forget dem towers in New York.



Integer

From Encyclopedia Dramatica

Jump to: navigation, search


Not an integer, but still tasty
Not an integer, but still tasty
The integers (from the Latin integer, which means with untouched integrity, whole, entire) are the set of numbers consisting of the natural numbers including 0 (0, 1, 2, 3, ...).

tl;dr: You can use Integers to save whole numbers. Inserting a float value like 0.5 will result in 0 when stored as an integer. Rounding and floor/ceiling instances will vary. Check with your local integer provider for moar options.

Integers can be over 9000, but not bigger than 2^63. Using Integers the wrong way can result in bugs in software. Using MAX_INT can be used to fuck up bad websites.

Note: Sometimes integers can be bad. For instance, trying to round pi to three could result in not a circle, but a tightly-wound spiral.

Examples of Float to Integer conversion:

Number Result Comment
Over 9000 Over 9000 Great power level, but don't use as a power of a number bigger than 1.
15.9 15 But she was almost 16.
15.9 16 16 in the state of Florida for great justice
13.0 49 That's not a 13-year old you are chatting with
17.9 17 childporn? But she was almost 18.
17.9 18 childporn? It looks like an adults vagina, so it's not CP
1/2 0 Dividing primes is a bad idea.
1/0 Oh shi- You can't divide by zero you idiot.

See also



Integer


is part of a series on potential Science projects.

Science Theory

Albert EinsteinBalloon BoyBill NyeTheoretical physicsGodExistenceEvolutionGlobal WarmingLook Around YouMemesRichard DawkinsComputer Science IIILarge Hadron ColliderApophisHow is babby formed?The Comprehensive Theory of LulzSchrödinger's catZero Division

Proven by Science

Tree HuggingCubic TimeGod hates fagsJEWS DID WTCNo girls on the internetRaelismScientologyTrepanationAlternative Medicine

Science in Action

Drugs! • Sex! • Creationism! • Fire! • Uranium!Lens flare! • Diabeetus! • Heart! • Electricity!


Personal tools
Link to this