toInt

Converts Boolean to Int, if true then 1 else 0