No decimal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

No decimal

What should be the symbol to produce an output without decimal in division calculation.

1st Aug 2017, 1:12 PM
Vimul Nath R
2 Answers
+ 6
use //
1st Aug 2017, 1:22 PM
Art456
Art456 - avatar
+ 5
example 20 // 6 = 3 not 3.3333... if you use / 20 / 6 = 3.33333....
1st Aug 2017, 1:28 PM
Art456
Art456 - avatar