public class Floor extends PostfixMathCommand
Math.floor(double)curNumberOfParameters, numberOfParameters| Constructor and Description |
|---|
Floor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
floor(Object param) |
void |
run(Stack inStack)
Throws an exception because this method should never be called under
normal circumstances.
|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameterspublic void run(Stack inStack) throws ParseException
PostfixMathCommandrun in interface PostfixMathCommandIrun in class PostfixMathCommandParseExceptionpublic Object floor(Object param) throws ParseException
ParseExceptionCopyright © 2018. All rights reserved.