MSI Factory 2.3

String.ToNumber

String.ToNumber

This is the first topic This is the last topic  

String.ToNumber

This is the first topic This is the last topic  

OverviewExamples

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


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us