Re: iPhoto returns a real number as a photo id
Re: iPhoto returns a real number as a photo id
- Subject: Re: iPhoto returns a real number as a photo id
- From: Michelle Steiner <email@hidden>
- Date: Sun, 13 Jun 2010 19:37:38 -0700
On Jun 13, 2010, at 7:25 PM, Tommy Bollman wrote:
>> Apparently, Applescript changes all integers to reals if they fall outside the range of integers.
>>
>> set x to "1234567890" as integer
>> --> 1.23456789E+9
>
> The value is still an int.
set x to "1234567890" as integer
class of x
--> real
-- Michelle
--
When I reflect on things it seems like I regret the things I didn't do more than the things I did.
-- Found on the net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden