0

Float

What is the meaning of float and the meaning of % in phython

31st Aug 2020, 12:16 AM
Nur Faqihah Binti Zamzam
Nur Faqihah Binti Zamzam - avatar
6 Antworten
+ 3
A float is short for a floating-point number. This type of number does not have a limit for the number of digits before and after a decimal point. In programming this data type is used for decimals. % is used to divide.
31st Aug 2020, 1:08 AM
Samira
Samira - avatar
+ 1
Float means non integer number like as 4.0,6.7etc % means modulus that is used to find remainder 25%8=1
31st Aug 2020, 12:35 AM
Sâñtôsh
Sâñtôsh - avatar
+ 1
1.float- if we have to convert the value in decimal number , we should use float like, float(3) >>>3.0 It's usefull for some operations 2.% % is used to get the reminder of division without dividing the values like, 4%3 >>> 1 because,3*1 = 3 and 3 is closest value for 4 in 3's division. reminder = 4-3 =1
31st Aug 2020, 1:06 AM
Shubham Ingale
Shubham Ingale - avatar
0
thank you RodionDoma for you easy explanacion !
2nd Jan 2021, 7:03 PM
Orlando Bello
Orlando Bello - avatar
0
I don't understand float as a beginner and it's really disturbing me
9th Nov 2021, 8:54 PM
Sholedolu Moses Abidemi
Sholedolu Moses Abidemi - avatar
- 1
Float is any decimal number. And '%' is to divide two numbers, but it only shows you the remainder.
31st Aug 2020, 12:32 AM
Rodion
Rodion - avatar