Why we get output in float as if we divide two numbers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we get output in float as if we divide two numbers?

12/2 Output:6.0

22nd Dec 2018, 1:47 PM
Madhumitha jayakumar Jayakumar
1 Answer
+ 7
Add the language tag to the post.
22nd Dec 2018, 1:59 PM
Babak
Babak - avatar