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, toString
private static final ValueType[][] SIGNATURES
public java.lang.String getName()
AbstractFunction
getName
in class AbstractFunction
public Value executeInt(PreprocessorContext context, Value value)
public Value executeFloat(PreprocessorContext context, Value value)
public int getArity()
AbstractFunction
getArity
in class AbstractFunction
public ValueType[][] getAllowedArgumentTypes()
AbstractFunction
getAllowedArgumentTypes
in class AbstractFunction
public java.lang.String getReference()
AbstractFunction
getReference
in class AbstractFunction
public ValueType getResultType()
AbstractFunction
getResultType
in class AbstractFunction