|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] EXSLT random() function generates 0 to 1 inclusive or exclusive?
Hi Folks,
Consider this XSLT statement:
<xsl:value-of select="ceiling(math:random() * 50)"/>
What is the range of possible values:
1 to 50
or
0 to 50
In other words, the random() function generates a random number from 0 to 1,
inclusive or exclusive? /Roger
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








