using System.Globalization; namespace MediaBrowser.Model.Extensions { /// /// Isolating these helpers allow this entire project to be easily converted to Java /// public static class DoubleHelper { /// /// Tries the parse culture invariant. /// /// The s. /// The result. /// true if XXXX, false otherwise. public static bool TryParseCultureInvariant(string s, out double result) { return double.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out result); } } }