BigDecimal BigDecimal
BigDecimal BigDecimal
DocFX + Singulink = ♥

Search Results for

    Method Parse

    Parse(string, IFormatProvider?)

    Converts the string representation of a number to its decimal equivalent.

    Declaration
    public static BigDecimal Parse(string s, IFormatProvider? provider)
    Parameters
    Type Name Description
    string s

    The string representation of the number to convert.

    IFormatProvider provider

    A format provider that supplies culture-specific parsing information.

    Returns
    Type Description
    BigDecimal
    Implements
    IParsable<TSelf>.Parse(string, IFormatProvider)

    Parse(string, NumberStyles, IFormatProvider?)

    Converts the string representation of a number to its decimal equivalent.

    Declaration
    public static BigDecimal Parse(string s, NumberStyles style = NumberStyles.Number, IFormatProvider? provider = null)
    Parameters
    Type Name Description
    string s

    The string representation of the number to convert.

    NumberStyles style

    A combination of NumberStyles values that indicate the styles that can be parsed.

    IFormatProvider provider

    A format provider that supplies culture-specific parsing information.

    Returns
    Type Description
    BigDecimal
    Implements
    INumberBase<TSelf>.Parse(string, NumberStyles, IFormatProvider)

    Parse(ReadOnlySpan<char>, IFormatProvider?)

    Converts the string representation of a number to its decimal equivalent.

    Declaration
    public static BigDecimal Parse(ReadOnlySpan<char> s, IFormatProvider? provider)
    Parameters
    Type Name Description
    ReadOnlySpan<char> s

    The string representation of the number to convert.

    IFormatProvider provider

    A format provider that supplies culture-specific parsing information.

    Returns
    Type Description
    BigDecimal
    Implements
    ISpanParsable<TSelf>.Parse(ReadOnlySpan<char>, IFormatProvider)

    Parse(ReadOnlySpan<char>, NumberStyles, IFormatProvider?)

    Converts the string representation of a number to its decimal equivalent.

    Declaration
    public static BigDecimal Parse(ReadOnlySpan<char> s, NumberStyles style = NumberStyles.Number, IFormatProvider? provider = null)
    Parameters
    Type Name Description
    ReadOnlySpan<char> s

    The string representation of the number to convert.

    NumberStyles style

    A combination of NumberStyles values that indicate the styles that can be parsed.

    IFormatProvider provider

    A format provider that supplies culture-specific parsing information.

    Returns
    Type Description
    BigDecimal
    Implements
    INumberBase<TSelf>.Parse(ReadOnlySpan<char>, NumberStyles, IFormatProvider)
    © Singulink. All rights reserved.