textToNumber(<Text>) : Number
The textToNumber function is used to convert text values to a numeric value which can then be used in formulas.
When the text value can't be converted to a number, the function will result in 0.
contains("55") => 55
contains("text") => 0
contains("text 15") => 0
Learn more about how you can get started using the Formula Field.
Type above and the results will be displayed here.