Skip to Content
0
Former Member
Feb 08, 2013 at 09:25 PM

Function to check if string is a valid number

575 Views

Hello Everyone,

I was wondering if there is any function in MII to check if the given string is a valid number . The closest that I can get is "number(string)" function which converts the the I/P string to a number or throws a exception if the I/P is not a valid number . I am looking for some which returns me 0 or 1 based on the I/P value .

(sth like "numbercheck(string,0,1)"; )

Thanks,

Naresh Agarwal,