Another thing to try is just a plain DEC.

DEBUGIN [DEC MyVar]

DEC waits for a numeric character and discards anything else until it gets one. Once it receives a character that is a number, it continues receiving more digits until it gets a non-numeric char which would be the 13.

This way the value can be any length, and you don't have to convert it to a byte.
<br>