@ddragoev you need two items one to save the string and one to hold the converted number, use a rule for that.
have a look at this discussion