OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   EXSLT random() function generates 0 to 1 inclusive or exclusive?

[ Lists Home | Date Index | Thread Index ]

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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS