Hrm, not sure I'm following. Quoting doesn't cast an integer type to a string, or such -- it's evaluated as a string either way. Quoting the substitutions will guarantee that if whitespace somehow makes it into the variable (which, admittedly, would mean there's a bug somewhere else) then the test will fail instead of throwing a syntax error.