I have an AutoNumber field in my leads. I'm assigning leads based upon the last digit of that field. Salesforce says the following code has no syntax errors:
RIGHT(RoundRobin__c, 1) == text(1) || RIGHT(RoundRobin__c, 1) == text(4) || RIGHT(RoundRobin__c, 1) == text(7) || RIGHT(RoundRobin__c, 1) == text(0)
However, the AutoNumber field seems to me like it must be a number, not a string. When I try to convert to a string, it says that RoundRobin__c is of type "text" and therefore the conversion isn't necessary. I just wanted to make sure that this won't cause any problems with my logic.