using System.Globalization;
namespace MediaBrowser.Model.Extensions
{
public static class FloatHelper
{
///
/// Tries the parse culture invariant.
///
/// The s.
/// The result.
/// true if XXXX, false otherwise.
public static bool TryParseCultureInvariant(string s, out float result)
{
return float.TryParse(s, NumberStyles.Any, CultureInfo.InvariantCulture, out result);
}
}
}