Show / Hide Table of Contents

    StringExtensions.Double(this string str) Method

    .NET Standard 2.x

    Converts a string to a double.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static double? Double(this string str);
    

    Parameters

    str System.String

    A string whose value you want returned as a double value.

    Returns

    System.Double

    Returns the contents of str as a double. If string is not a valid number or if it contains a non-numeric datatype, Double returns 0. If str is null, Double returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon