Re: 8 Digit random number
Re: 8 Digit random number
- Subject: Re: 8 Digit random number
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 7 May 2008 13:58:26 -0700
On Wed, May 7, 2008 at 1:50 PM, Mr. Gecko <email@hidden> wrote:
> Hello I am needing to find out how to do an 8 digit random number in cocoa.
> If there are no way than I can use random number from 10000000 to 99999999
> in applescript and receive the retuned value.
<http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/random.3.html>
All you need to do is clamp/wrap the value get back to the number
range you want.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden