Attempting to evaluate a non-numeric string as a number.

#6054   Run-time catchable error

Attempting to evaluate a non-numeric string as a number.

Additional Information

For element 'X' : For attribute 'Y' = "Z".
    or
For pattern variable 'X' = "Y".

Explanation

Only a string consisting exclusively of digits, possibly preceded by a plus or minus sign can be evaluated as a numeric value.