.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    TryToDecimal Method

    TryToDecimal(out decimal)

    Converts the numeric value of this instance to its equivalent decimal representation. A return value indicates whether the operation succeeded.

    Declaration
    public bool TryToDecimal(out decimal value)
    Parameters
    decimal value

    When this method returns, contains the decimal equivalent of the number represented by this instance, if the conversion succeeded, or zero if the conversion failed.

    Returns
    bool

    true if the number represented by this instance was converted successfully; otherwise false.

    Remarks

    A HBigDecimal value can be converted to decimal if it is greater than or equal to MinValue and less than or equal to MaxValue.

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.