public static int toIntValue(String str) throws ExpressionException {
  return (int)toDoubleValue(str,false);
}

public static int toIntValue ( String str ) throws ExpressionException { return ( int ) toDoubleValue ( str , false ) ; }
cast a string to a int value ( primitive value type )
