Formula 1.0.0

hirondelle.formula.function.builtin
Class SquareRoot

Object
  extended by hirondelle.formula.function.builtin.SquareRoot
All Implemented Interfaces:
Function

public final class SquareRoot
extends Object
implements Function

sqrt(x): the square root of a number.


Constructor Summary
SquareRoot()
           
 
Method Summary
 Decimal calculate(Decimal... aArgs)
          The single argument must be >= 0.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareRoot

public SquareRoot()
Method Detail

calculate

public Decimal calculate(Decimal... aArgs)
The single argument must be >= 0.

Specified by:
calculate in interface Function
Parameters:
aArgs - 0 or more arguments to the function.

Formula 1.0.0

Copyright Hirondelle Systems. Published January 31, 2013