Why mod = 0.25? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
11th Jul 2022, 6:21 AM
Владимир Панкратьев
Владимир Панкратьев - avatar
1 Réponse
+ 4
Because 1.25 / 0.5 yields 2 (quotient) with 0.25 as the remainder. 1.25 / 0.5 = 2 (quotient) 1.25 - (0.5 * <quotient>) = 0.25 (remainder)
11th Jul 2022, 6:54 AM
Ipang