SilverStream
Application Server 3.5

com.sssw.rt.expr
Class AgFactorial

java.lang.Object
 |
 +--com.sssw.rt.expr.AgFactorial

public class AgFactorial
extends Object

A runtime helper class that provides a factorial function.


Constructor Summary
AgFactorial()
           
 
Method Summary
static double evaluate(double d1)
          Calculates the factorial of the specified value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgFactorial

public AgFactorial()
Method Detail

evaluate

public static double evaluate(double d1)
                       throws Exception
Calculates the factorial of the specified value.
Parameters:
d1 - the value for which the factorial is calculated.
Example:
 	double result = AgFactorial.evaluate(5.0);
 

SilverStream
Application Server 3.5