not a number

  1. rgarnett1955

    Android Question How To Set Values to NAN

    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