Takes a text string and converts it to a numeric value. It will consider the end of the number to be reached when it encounters a non-digit. So, for example,
=TextToNumber("one") returns zero ('o' is not a digit).
=TextToNumber("132a7") returns 132 ('a' is not a digit)
It will correctly handle negative numbers.
=TextToNumber(%INDI.REFN%)