Handle non-numeric values

If given `input` is not a number, return `input` with no changes. `'100'` and `100` both pass the test.