1 9 package org.nfunk.jep.function; 10 11 import java.util.*; 12 import org.nfunk.jep.*; 13 14 21 public class Str extends PostfixMathCommand 22 { 23 public Str() 24 { 25 numberOfParameters = 1; 26 } 27 28 public void run(Stack inStack) 29 throws ParseException 30 { 31 checkStack(inStack); Object param = inStack.pop(); 33 inStack.push(param.toString()); return; 35 } 36 } 37 | Popular Tags |