code: public static Boolean greaterThan( Number n1 , Number n2 )
      {
          Class<?> type = getComputationType(n1,n2);
          Number val1 = convertTo(n1,type);
          Number val2 = convertTo(n2,type);
  
          if (type == Long.class)
              return val1.longValue() > val2.longValue() ? Boolean.TRUE : Boolean.FALSE;
          return val1.doubleValue() > val2.doubleValue() ? Boolean.TRUE : Boolean.FALSE;
      }
docs: Compare two numbers