Jeena to Programmer Humor@programming.dev • 1 month agoNot a Numberjemmy.jeena.netimagemessage-square55fedilinkarrow-up1369arrow-down19file-text
arrow-up1360arrow-down1imageNot a Numberjemmy.jeena.netJeena to Programmer Humor@programming.dev • 1 month agomessage-square55fedilinkfile-text
minus-square@anakin78z@lemmy.worldlinkfedilink9•1 month agoI like how the code adds a 0 at the start.
minus-square@EarMaster@lemmy.worldlinkfedilink14•1 month 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.