+ 1
What is the difference between int and float
3 Respostas
+ 2
int save integer type value such as 1145 and float save floating point values such as 1145.89
+ 1
Int(integer) is a number without any decimal(e.g 25) and float is floating number which has a decimal with it(e.g 45.25)
0
int(datatye) is a number without any decimal and float is a datatype which takes number having decimal part eg 22.1234567 and decimal can take value of 7 digits after decimal