Page 1 of 1

Is there alternative to deprecated utils.StringToNumber?

PostPosted: Mon Sep 18, 2017 2:45 pm
by cuoredisardegna
Hi to All,

could SomeOne resolve this problem?

utils.stringToNumber(textString) is a deprecated command.

Is there an alternative to this deprecated command?

Tanks in advance.

Gianni Pinna

Re: Is there alternative to deprecated utils.StringToNumber?

PostPosted: Mon Sep 18, 2017 3:20 pm
by jdbruijn
as far as I know this is not depracated, at least I do not have buildmarkers warning about it when I use it.

Re: Is there alternative to deprecated utils.StringToNumber?

PostPosted: Mon Sep 18, 2017 3:22 pm
by vschuurhof
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?