added toBoolean cast function

better 0.0