In my automation, I get text from an element on the browser page which should be a number, but sometimes contains “NaN” or “>15” or “<1” or similar.
IsNumeric returns False for these except when it is “NaN”.
This is so wrong. Do I have to code around this? Is this a bug?
Thanks
mkankatala
(Mahesh Kankatala)
2
Hi @Phillip_Duncan
Your query is quite confusing could you be more specific and provide some of the screenshots for our understanding.
Yoichi
(Yoichi)
3
HI,
Because Double.NaN is defined and “NaN” can be converted into Double type.
So, how about the following as workaround?
Sample
Sample20240712-2 (2).zip (2.7 KB)
Regards,
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.