Path: chuka.playstation.co.uk!news From: Nigel Critten Newsgroups: scee.yaroze.freetalk.english Subject: rand () Date: Fri, 12 Mar 2004 19:41:36 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 11 Message-ID: NNTP-Posting-Host: modem-1871.jaguar.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en Great meeting last night, like Marc I had the wheels on the bus in my head and just as I got over it I read his post and they are back going round and round. Does anyone have a rand function that will generate a random number between two given numbers so rand (-10, 10) would generate a number somewhere between -10 and 10, the built in rand () returns a number between 0 - 32767 which doesn't help much. Thanks Nigel