ThisToThat/ThisToThat/ToDoubleExtensions.cs
/// <summary>
/// Converts and returns this string's value as a nullable Double.
/// Null is returned if the value does not successfully parse to Double.
/// </summary>
/// <returns>This string's value converted to a nullable Double.</returns>
Converts and returns this string's value as a nullable Double.
Null is returned if the value does not successfully parse to Double.
Converts and returns this string ' s value as a nullable Double . Null is returned if the value does not successfully parse to Double .
public static Double? ToDoubleNullable(this string strThisString)
        {
            Double doubleReturn;
            return Double.TryParse(strThisString, out doubleReturn) ? doubleReturn : (Double?)null;
        }
public static Double ? ToDoubleNullable ( this string strThisString ) { Double doubleReturn ; return Double . TryParse ( strThisString , out doubleReturn ) ? doubleReturn : ( Double ? ) null ; }
Converts and returns this string's value as a nullable Double.
Converts and returns this string ' s value as a nullable Double .
This string's value converted to a nullable Double.
This string ' s value converted to a nullable Double .
string
this