AppleScript bug with 15+ digits.
AppleScript bug with 15+ digits.
- Subject: AppleScript bug with 15+ digits.
- From: Emmanuel <email@hidden>
- Date: Mon, 31 Mar 2003 14:40:02 +0200
The following script does not compile ("syntax error"):
-------------------------
set x to 3.141592653589793
-------------------------
The following script does not work:
-------------------------
"3.141592653589793" as number
--> error "Can't make [whatever] into a number"
-------------------------
This is bad. Users should be able to enter an arbitrary number of
digits, and AppleScript should perform the truncation. I don't know
any other language that behaves like AppleScript with respect to that.
Emmanuel
_______________________________________________
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.