com.google.clearsilver.jsilver.functions.numeric
Class AbsFunction
java.lang.Object
com.google.clearsilver.jsilver.functions.NonEscapingFunction
com.google.clearsilver.jsilver.functions.numeric.AbsFunction
- All Implemented Interfaces:
- Function
public class AbsFunction
- extends NonEscapingFunction
Returns the absolute value of the numeric expressions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbsFunction
public AbsFunction()
execute
public Value execute(Value... args)
- Description copied from interface:
Function
- Execute a function. Should always return a result.
- Parameters:
args
- Single numeric value
- Returns:
- Absolute value
Copyright © 2010-2012 Google. All Rights Reserved.