Boolean
From DocForge
Boolean is a programming language data type representing a logical value - true or false. It can be stored as a single bit, 0 for false and 1 for true. Some languages directly implement boolean as a fundamental data type. Others treat a boolean as a synonym for a bit or integer.
[edit] Type Casting
Typically a integer value of 0 is equated with a boolean value of false, while any other integer value is equated with a boolean value of true. Typecasting a boolean value to an integer or bit will result in a 0 for false and 1 for true.
Microsoft Visual Basic up to version 6, however, converts false to 0 and true to -1. This gives rise to various storage and interoperability issues where a VB programmer will often need to use the absolute value of a boolean typecast to an integer.

