Search Results for

    Show / Hide Table of Contents

    TUserDefinedFunction.TryGetDouble Method

    Tries to retrieve a double from a parameter, and return it if it can be converted or an error if not.

    Syntax

    Namespace: FlexCel.Core

    public static Boolean TryGetDouble(ExcelFile xls, Object param, out Double ResultValue, out TFlxFormulaErrorValue ResultError)

    Parameters

    <-> Parameter Type Description
    xls ExcelFile ExcelFile used to read the parameter when it is a cell reference.
    param Object One of the parameters passed to Evaluate
    out ResultValue Double Value of the parameter as double. If TryGetDouble returns false, this value is undefined.
    out ResultError TFlxFormulaError​Value Value of the error when converting the parameter. If TryGetDouble returns true (there was no error), this value is undefined.

    Returns

    True if the parameter can be converted to a double, false if there was an error.

    See also

    • TUserDefinedFunction
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com