• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Random Int between x and y
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Random Int between x and y


  • Subject: Random Int between x and y
  • From: David Griffith <email@hidden>
  • Date: Wed, 10 Mar 2004 14:46:16 +0100

Hi all,

Is there an easy way to generate a random int in the range  x <= int <= y?
I have found a couple of methods but they don't appear to do what I need.
I'm sure there's a simple answer....

Regards,
Dave.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Random Int between x and y
      • From: Jonathan Rochkind <email@hidden>
    • Re: Random Int between x and y
      • From: Kieran Kelleher <email@hidden>
    • Re: Random Int between x and y
      • From: email@hidden
References: 
 >strange Error using DirectAction with querydictionary... (From: "Thomas Engeroff" <email@hidden>)

  • Prev by Date: strange Error using DirectAction with querydictionary...
  • Next by Date: Re: Grrr! awakeFromInsertion...
  • Previous by thread: strange Error using DirectAction with querydictionary...
  • Next by thread: Re: Random Int between x and y
  • Index(es):
    • Date
    • Thread