Formula 1.0.0

hirondelle.formula.function.builtin
Class Round

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

public final class Round
extends Object
implements Function

round(x): round to 0 or more decimals.


Constructor Summary
Round()
           
 
Method Summary
 Decimal calculate(Decimal... aArgs)
          Takes either 1 or 2 arguments.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Round

public Round()
Method Detail

calculate

public Decimal calculate(Decimal... aArgs)
Takes either 1 or 2 arguments. If the second argument is present, then it must be an integer, 0..N.

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