public class RoundSqlFunction extends SqlFunction
| Constructor and Description | 
|---|
RoundSqlFunction()  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
apply(SqlFunctionExecutionContext context)
Rounds the first argument context.getArgument(0) to the number of decimal places specified by
 context.getArgument(1). 
 | 
assertNumberOfArgumentspublic Object apply(SqlFunctionExecutionContext context)
apply in class SqlFunctioncontext - contains one or two arguments of type Number.Copyright © GigaSpaces.