Re: [xsl] generating unique random numbers

Subject: Re: [xsl] generating unique random numbers
From: Michael Ludwig <milu71@xxxxxx>
Date: Sun, 21 Feb 2010 23:18:54 +0100
a kusa schrieb am 20.02.2010 um 20:02:01 (-0600):

> I have been raking my brains to achieve this. I am using math.random()
> to generate random numbers, but of course since they repeat, I want to
> be able to generate unique random numbers.

Decrease the likelihood of duplicates by calling math:random() twice and
multiplying the results each time around.

Michael Ludwig

Current Thread