code: public static boolean isFloatingPointType(Class pClass) {
          return
                  pClass == Float.class ||
                          pClass == Float.TYPE ||
                          pClass == Double.class ||
                          pClass == Double.TYPE;
      }
docs: Returns true if the given class is of a floating point type