Hi, Whats the C# equivalent for the Rnd() function in VB? cheers, CR
O Ollie Riches Aug 12, 2005 #2 check out the API's System.Decimal.Round System.Double.Round Ollie Riches
T Tom Porterfield Aug 12, 2005 #3 Hi, Whats the C# equivalent for the Rnd() function in VB? Click to expand... You have the System.Random object that can take a seed in its constructor. You then call its Next method to return the random number.
Hi, Whats the C# equivalent for the Rnd() function in VB? Click to expand... You have the System.Random object that can take a seed in its constructor. You then call its Next method to return the random number.
T Tim Haughton Aug 12, 2005 #4 I'm going to guess that Rnd() is a sort of random number generator. If so, check out the System.Random class. -- Regards, Tim Haughton Agitek http://agitek.co.uk http://blogitek.com/timhaughton
I'm going to guess that Rnd() is a sort of random number generator. If so, check out the System.Random class. -- Regards, Tim Haughton Agitek http://agitek.co.uk http://blogitek.com/timhaughton