Comment

Comment by mmcnickle

The same reason int(-1.999) is -1; The operation is different to integer division. I think of it as taking the "integer" part of the float.
parent mmcnickle 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton