☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.ml • 2 years agoThe New Mathlemmy.mlimagemessage-square17fedilinkarrow-up159arrow-down14
arrow-up155arrow-down1imageThe New Mathlemmy.ml☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.ml • 2 years agomessage-square17fedilink
minus-squareSoviet Snakelink8•2 years agoHow? What? Is this real? Could someone explain why? Is there a use?
minus-square@kevincox@lemmy.mllinkfedilink7•2 years agoThe source of this appears to be that 0.0000001.toString() == "1e-7". Presumably parseInt first converts its argument to a String (which kinda makes sense). Of course the more important question is why are you passing a number to parseInt?
How? What? Is this real? Could someone explain why? Is there a use?
The source of this appears to be that
0.0000001.toString() == "1e-7"
. PresumablyparseInt
first converts its argument to a String (which kinda makes sense).Of course the more important question is why are you passing a number to
parseInt
?