logoalt Hacker News

Fire-Dragon-DoL • 10/11/2024 • 1 reply • view on HN

I have no math background but every line of code I wrote that involved a division, I just wished that division by 0 results in 0, so this actually resonated with me


Replies

beanjuiceII • 10/12/2024

why? if 0 was getting divided with i would want to know otherwise i'll be using wrong calculations

➕ show 1 reply