tatterdemalion@programming.dev to Science Memes@mander.xyzEnglish · 14 days agoif statement == falsei.imgflip.comimagemessage-square41fedilinkarrow-up1251
arrow-up1251imageif statement == falsei.imgflip.comtatterdemalion@programming.dev to Science Memes@mander.xyzEnglish · 14 days agomessage-square41fedilink
minus-squaremexicancartel@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up2·12 days agoProbably to make the fractional random value between 0 and 1 to become an integer so that you can divisibility check for even with mod 2
Probably to make the fractional random value between 0 and 1 to become an integer so that you can divisibility check for even with mod 2