Class Round
- Namespace
- Albatross.Expression.Prefix
- Assembly
- Albatross.Expression.dll
Perform a mid point rounding away from zero. First operand is the input, second operand is the number of digits.
public class Round : PrefixExpression, IPrefixExpression, IExpression, IToken
- Inheritance
-
Round
- Implements
- Inherited Members
- Extension Methods
Constructors
Round()
public Round()
Methods
Run(List<object>)
Executes the prefix function with the evaluated operand values. Derived classes should override this method to implement specific function logic.
protected override object Run(List<object> operands)
Parameters
Returns
- object
The result of the function.