/// <summary> /// Convert <see cref="object"/> to <see cref="float"/>. /// </summary> /// <param name="obj"></param> /// <param name="defaultVal"></param> /// <returns></returns> public static float ToFloat(object obj, float defaultVal = 0F) => NumericConv.ObjectToFloat(obj, defaultVal);