0

Separating the decimals

How, when you divide, you get the code to not insert the .#

29th Jun 2021, 2:47 AM
Steven
Steven - avatar
2 Respostas
+ 2
whole division operator: // turn float to int: int(number) so: 7 // 2 == int(7 / 2) == 3
29th Jun 2021, 2:53 AM
visph
visph - avatar
+ 1
Ok thanks!
29th Jun 2021, 2:56 AM
Steven
Steven - avatar