Is there an elegant way of setting a float or double to NaN?
I used:
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
I used:
B4X:
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