String.ToNumber

number String.ToNumber (

string NumericString )

Example 1

number_format = String.ToNumber("84");

if number_format < 100 then
Dialog.Message("Successful", "Yes, the number "..number_format.." is less than 100.");
end

Converts the string "84" to the number 84 so it can be used in a numeric comparison that will display a message to the user.

See also: Related Actions