public final class FunctionROUND extends AbstractFunction
| Modifier and Type | Field and Description |
|---|---|
private static ValueType[][] |
SIGNATURES |
ALL_FUNCTIONS, EXECUTION_PREFIX, UID_COUNTER| Constructor and Description |
|---|
FunctionROUND() |
| Modifier and Type | Method and Description |
|---|---|
Value |
executeFloat(PreprocessorContext context,
Value value) |
Value |
executeInt(PreprocessorContext context,
Value value) |
ValueType[][] |
getAllowedArgumentTypes()
Get arrays of supported argument types
|
int |
getArity()
Get the function arity
|
java.lang.String |
getName()
Get the function name
|
java.lang.String |
getReference()
Get the function reference to be output for a help request
|
ValueType |
getResultType()
Get the result type
|
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toStringprivate static final ValueType[][] SIGNATURES
public java.lang.String getName()
AbstractFunctiongetName in class AbstractFunctionpublic Value executeInt(PreprocessorContext context, Value value)
public Value executeFloat(PreprocessorContext context, Value value)
public int getArity()
AbstractFunctiongetArity in class AbstractFunctionpublic ValueType[][] getAllowedArgumentTypes()
AbstractFunctiongetAllowedArgumentTypes in class AbstractFunctionpublic java.lang.String getReference()
AbstractFunctiongetReference in class AbstractFunctionpublic ValueType getResultType()
AbstractFunctiongetResultType in class AbstractFunction