Is there alternative to deprecated utils.StringToNumber?

I have seen that when I pass a numeric value as an argument, I am getting the deprecated feedback. However, why would you want to send a numeric value if the output would also be (and the same)?

The correct argument for this function should be an alphanumeric one. In that case you shouldn’t receive this feedback again. Could you please check if argument “textString” is of the correct type?