BigDecimal BigDecimal
BigDecimal BigDecimal
DocFX + Singulink = ♥

Search Results for

    Method INumberBase<BigDecimal>.TryConvertFromChecked

    INumberBase<BigDecimal>.TryConvertFromChecked<TOther>(TOther, out BigDecimal)

    Tries to convert a value to an instance of the the current type, throwing an overflow exception for any values that fall outside the representable range of the current type.

    Declaration
    static bool INumberBase<BigDecimal>.TryConvertFromChecked<TOther>(TOther value, out BigDecimal result) where TOther : INumberBase<TOther>
    Parameters
    Type Name Description
    TOther value

    The value that's used to create the instance of BigDecimal.

    BigDecimal result

    When this method returns, contains an instance of BigDecimal converted from value.

    Returns
    Type Description
    bool

    false if TOther is not supported; otherwise, true.

    Type Parameters
    Name Description
    TOther

    The type of value.

    Implements
    INumberBase<TSelf>.TryConvertFromChecked<TOther>(TOther, out TSelf)
    Exceptions
    Type Condition
    OverflowException

    value is not representable by BigDecimal.

    © Singulink. All rights reserved.