in reply to Re: Comparison based on type of value held by variables
in thread Comparison based on type of value held by variables

Hi Skeeve,
So does that mean that all strings evaluate to 0 value in numerical comparison?
Regards,
Ranjan
  • Comment on Re^2: Comparison based on type of value held by variables

Replies are listed 'Best First'.
Re^3: Comparison based on type of value held by variables
by Skeeve (Parson) on Oct 18, 2005 at 14:10 UTC

    Yes. The numerical value of any string that is not a valid representation of a number is 0.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
      Thanks Skeeve. I will keep that in mind.
      Regards,
      Ranjan