/// <summary> /// Convert <see cref="object"/> to <see cref="long"/>. /// </summary> /// <param name="obj"></param> /// <param name="defaultVal"></param> /// <returns></returns> public static long ToInt64(object obj, long defaultVal = default) => NumericConv.ObjectToInt64(obj, defaultVal);