question: public static double min ( Array array ) throws PageException { if ( array . getDimension ( ) > 1 ) throw new ExpressionException ( "can only get max value from 1 dimensional arrays" ) ; if ( array . size ( ) == 0 ) return 0 ; double rtn = _toDoubleValue ( array , 1 ) ; int len = array . size ( ) ; try { for ( int i = 2 ; i <= len ; i ++ ) { double v = _toDoubleValue ( array , i ) ; if ( rtn > v ) rtn = v ; } } catch ( PageException e ) { throw new ExpressionException ( "exception while execute array operation: " + e . getMessage ( ) ) ; } return rtn ; }
target:  the smallest value, of all values inside the array, only work when all values are numeric