Numeric comparison in string
Numeric comparison in string
- Subject: Numeric comparison in string
- From: JJ <email@hidden>
- Date: Sun, 31 Mar 2002 03:10:32 +0200
Why this returns "true" and not "can't make some data into the expected
type" or anything similar?
"1.2.1" < "1.5.3"
Obviously, these strings can't be coerced to real. Are they internally
co-re-coerced to hexadecimal, suppossing they're "version" numbers?
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.