Formula 1.0.0

hirondelle.formula.function.builtin
Class Ceil

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

public final class Ceil
extends Object
implements Function

ceil(x): round a number up to the nearest integer.


Constructor Summary
Ceil()
           
 
Method Summary
 Decimal calculate(Decimal... aArgs)
          Calculate the value of a function.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ceil

public Ceil()
Method Detail

calculate

public Decimal calculate(Decimal... aArgs)
Description copied from interface: Function
Calculate the value of a function.

It's highly recommended that the implementation validate the number of arguments passed to the function. The Check class can be used for doing the most common argument validations.

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