com.jaxfront.core.jep
Class NumberCast
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
com.jaxfront.core.jep.JaxfrontMathCommand
com.jaxfront.core.jep.NumberCast
- All Implemented Interfaces:
- org.nfunk.jep.function.PostfixMathCommandI
public class NumberCast
- extends JaxfrontMathCommand
NumberCast try to cast the given parameter to an double datatype. Casting is
only provided for these primitive datatypes: String Number
(double,long,int,short) boolean Other datatypes will throws a ParserException
- Version:
- 1.60
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
getNumberOfParameters, getRootNode, run, setCurNumberOfParameters |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberCast
public NumberCast()
- Constructor.
run
public void run(MathEvaluator.MathCommunicator communicator,
java.util.Stack stack)
throws org.nfunk.jep.ParseException
- Specified by:
run
in class JaxfrontMathCommand
- Throws:
org.nfunk.jep.ParseException
- See Also:
org.nfunk.jep.function.PostfixMathCommandI#run(Stack)