Is there an elegant way of setting a float or double to NaN?
I used:
Public Const NaNd = $"$1.2{"The value is not a number!"}"$ As Double
But it a bit cumbersome and I just can't remember it, so every time I need it I have to look it up.
Best regards
Rob
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.