toint: check for number before string