Show / Hide Table of Contents

    StringExtensions.Real(this string str) Method

    .NET Standard 2.x

    Converts a string value to a real datatype.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static float? Real(this string str);
    

    Parameters

    str System.String

    The string whose value you want returned as a Real value.

    Returns

    System.Single

    Returns the value of str as a float. If string is not a valid number or is an incompatible datatype, Real returns 0. If str is null, Real returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon