Text parsed as number
-
In my calculated field, I mostly want to return a number, e.g. 10. But in some cases, I want to return a text message, e.g. “More than 10 months” or “Questionable”. In these exceptions, I want to be able to hide some fields.
I tried to do that by using typeof to screen for strings in a function. But I found that “More than 10 months” would still be parsed as a number (10), while “Questionable” would be a string. Is this behaviour expected? Is there any way for me to screen for “More than 10 months”?
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Text parsed as number’ is closed to new replies.