Guys what is int and float | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Guys what is int and float

Sorry im new

8th Dec 2020, 10:35 PM
Andrea Barreto
Andrea Barreto - avatar
3 Answers
+ 3
There are three types of data String, integer, float String - means you can store in it any text EX- "Hello World!" Integer - You can give numbers Ex - 1234 , 1,2,3,4 (whole numbers) Float - numbers with points means like decimal numbers Ex - 3.334 , 2.44 etc
9th Dec 2020, 2:19 PM
Sayyam Jain
Sayyam Jain - avatar
+ 3
Integer is a data type example 1,2,or basically the number which are on the number Line And float are decimal number like 3.14
9th Dec 2020, 3:17 PM
Anjali Patel
Anjali Patel - avatar
+ 2
They are data types that a variable can hold
8th Dec 2020, 11:01 PM
D_Stark
D_Stark - avatar