Why 3.14 isnt integer lol?(That is such a stupid question) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

Why 3.14 isnt integer lol?(That is such a stupid question)

26th Jun 2016, 8:18 AM
JS of MC(not C++ || java)
JS of MC(not C++ || java) - avatar
5 Answers
+ 2
3.14 is not a whole number, therefore not an integer. for 3.14 you use float or double, however floats take up less memory than doubles do
26th Jun 2016, 10:50 PM
Christian “Cuke” Hernandez
Christian “Cuke” Hernandez - avatar
+ 1
because, here 2 decimal point in left side(.14),
18th Jul 2016, 8:32 AM
meherDev
meherDev - avatar
0
Because interger doesn't holds on non -fraction, it's holds on negative or positive numbers
2nd Jul 2016, 8:53 AM
Joyx Kish
Joyx Kish - avatar
0
Потому что после точки, вычисления только километр чисел! Это выражение >3.14< бесконечное практически!
4th Jan 2017, 9:56 PM
Terminator_Nemo
Terminator_Nemo - avatar
- 5
Relax relax I know ya :P It's just a joke guy
30th Jun 2016, 10:31 AM
JS of MC(not C++ || java)
JS of MC(not C++ || java) - avatar