Forum Index

No notifications
Notifications

Favorites

No favorites found
General Training Discussion General chat and comment on KnowledgeKube training
KnowledgeKube Training > General Training Discussion > String is numeric convertible? View modes: 
User avatar
KnowledgeKube Staff
KnowledgeKube Staff
Burns - 27/07/2016 14:25:56
   
RE:String is numeric convertible?
Howdy Arun, I am glad you have found a solution to your problem. An alternative way to handle strings and values is to wrap the string with a val() statement like so :
val("1")
or
val(Keyword)
If the string cannot be converted to a value using this method an error will occur. Combining your expression with an error handler allows you to determine what happens if an error occurs. You can download the training material for error handlers here Good Luck!

User avatar
Advanced member
Advanced member
Arun Murthy - 27/07/2016 10:01:33
   
RE:String is numeric convertible?
To answer my own question, I check is numeric by
IsMatch(inputValue, "^[0-9]*$")
=)

User avatar
Advanced member
Advanced member
Arun Murthy - 26/07/2016 08:38:43
   
String is numeric convertible?
Hi, How do I check if the input value which is a string is convertible to numeric in the action expression?

RSS Feed