Jeena@jemmy.jeena.net to Programmer Humor@programming.dev · 6 months agoNot a Numberjemmy.jeena.netimagemessage-square38fedilinkarrow-up172arrow-down11file-text
arrow-up171arrow-down1imageNot a Numberjemmy.jeena.netJeena@jemmy.jeena.net to Programmer Humor@programming.dev · 6 months agomessage-square38fedilinkfile-text
minus-squareanakin78z@lemmy.worldlinkfedilinkarrow-up6·6 months agoI like how the code adds a 0 at the start.
minus-squareEarMaster@lemmy.worldlinkfedilinkarrow-up14·6 months agoThe code probably checks if the following number is greater than 10 (which fails for NaN) and otherwise adds a 0 in front.
I like how the code adds a 0 at the start.
The code probably checks if the following number is greater than 10 (which fails for NaN) and otherwise adds a 0 in front.