Skip to main content

Timeline for Why is 0 false?

Current License: CC BY-SA 3.0

2 events
when toggle format what by license comment
May 15, 2013 at 21:25 comment added Morwenn 0 AND -1 == whatever boolean value you cast them to. That's what my question is about, why casting them to TRUE or FALSE. Never did I say - maybe I did, but it was not intended - integers were true or false, I asked about why they do evaluate to whichever when casted to boolean.
May 15, 2013 at 21:17 history answered Jon Raynor CC BY-SA 3.0