public final class FunctionROUND extends AbstractFunction
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
|
String |
getName()
Get the function name
|
String |
getReference()
Get the function reference to be output for a help request
|
ValueType |
getResultType()
Get the result type
|
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toString
public 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 String getReference()
AbstractFunction
getReference
in class AbstractFunction
public ValueType getResultType()
AbstractFunction
getResultType
in class AbstractFunction
Copyright © 2011–2019 Igor Maznitsa. All rights reserved.