code: public static float getFloat(@NonNull final Context context, @AttrRes final int resourceId,
                                   final float defaultValue) {
          return getFloat(context, -1, resourceId, defaultValue);
      }
docs: Obtains the float value, which corresponds to a specific resource id, from a context's
  theme.
  
  @param context
  The context, which should be used, as an instance of the class {@link Context}. The
  context may not be null
  @param resourceId
  The resource id of the attribute, which should be obtained, as an {@link Integer}
  value. The resource id must corresponds to a valid theme attribute
  @param defaultValue
  The default value, which should be returned, if the given resource id is invalid, as
  a {@link Float} value
  @return The float value, which has been obtained, as a {@link Float} value or 0, if the given
  resource id is invalid