Forum Discussion
QuickBaseCoachD
8 years agoQrew Captain
I did test that formula and it did seem to work for me ... did you have a string that failed that I could test it on. The useful idea is that the ToNumber( ) function will return blank it what you give it contains non numeric characters.
In my test, the field for [maybe a number] was a text string.
In my test, the field for [maybe a number] was a text string.
SuryaAvantsa1
8 years agoQrew Member
That could be a problem. What if it was a blank? And the tonumeric also returns a blank. Then they both will be equal, thus misleading us to believe that a blank is numeric.
I guess, we need to first filter out blanks and call them non-numeric right away before checking for non-blanks.
if (Contains([may be a number]," ",false,ToText(ToNumber([maybe a number]))=[maybe a number])
I guess, we need to first filter out blanks and call them non-numeric right away before checking for non-blanks.
if (Contains([may be a number]," ",false,ToText(ToNumber([maybe a number]))=[maybe a number])