Converts the parameter to an integer. If conversion fails, zero is returned. If you pass a string, it will be parsed as a number. If you pass a boolean, zero will be returned for FALSE, and one will be returned for TRUE. If you pass a real number, fractional digits will be removed.
integer = toInteger("123");
integer = toInteger(FALSE);
integer = toInteger(123.456);