// Token: 0x06001C99 RID: 7321 RVA: 0x0007A630 File Offset: 0x00078830 public static string DistanceMarathonsDisplayValueFormatter(ref StatField statField) { StatDataType statDataType = statField.dataType; double num; if (statDataType != StatDataType.ULong) { if (statDataType != StatDataType.Double) { throw new ArgumentOutOfRangeException(); } num = statField.GetDoubleValue(); } else { num = statField.GetULongValue(); } return(string.Format(Language.GetString("STAT_VALUE_MARATHONS_FORMAT"), num * 2.3699E-05)); }
// Token: 0x06001C98 RID: 7320 RVA: 0x0007A5D0 File Offset: 0x000787D0 public static string TimeMMSSDisplayValueFormatter(ref StatField statField) { StatDataType statDataType = statField.dataType; ulong num; if (statDataType != StatDataType.ULong) { if (statDataType != StatDataType.Double) { throw new ArgumentOutOfRangeException(); } num = (ulong)statField.GetDoubleValue(); } else { num = statField.GetULongValue(); } ulong num2 = num / 60UL; ulong num3 = num - num2 * 60UL; return(string.Format("{0:00}:{1:00}", num2, num3)); }