Page 1 of 1

test is string is number

Posted: 17 May 2018 19:26
by daveplummermd
Guys

How can I test if a string is a number?

Thanks in advance

Dave

Re: test is string is number

Posted: 17 May 2018 22:11
by Thomas Linder Puls
To test whether the string S is a real:

Code: Select all

R = tryToTerm(real, S)

Re: test is string is number

Posted: 18 May 2018 5:00
by CalmoSoft
Hello Dave,

May next links help you:
test is string is number #1
test is string is number #2

Greetings,
Gal Zsolt
(~ CalmoSoft ~)

Re: test is string is number

Posted: 19 May 2018 12:40
by daveplummermd
Thanks , but in what class/package can I find trytoTerm?
dp

Re: test is string is number

Posted: 19 May 2018 21:03
by Harrison Pratt