[Home] [By Thread] [By Date] [Recent Entries]
PS:
Rashmi Rubdi wrote:
<xsl:function name="f:fac" as="xs:integer"> <xsl:param name="nr" as="xs:integer" /> <xsl:sequence select="if($nr = 0) then 1 else f:fac($nr -1) * $nr" /> </xsl:function> Which gives in a split second for: <xsl:sequence select="f:fac(100)" /> 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000 Not that bad for an interpreted language, my calculator is not that precise... Cheers, -- Abel
|

Cart



