Search Results for

    Show / Hide Table of Contents

    TFlxNumberFormat.PercentCount Method

    Returns the number of %% sign in a cell. Each %% in the format string multiplies the value by 100, so 0.1 formatted as "0%%" will display as 10%% and formatted as 0%%%% will display as 1000%%%%.

    Syntax

    Unit: FlexCel.Core

    class function TFlxNumberFormat.PercentCount(const Value: TCellValue; const Format: string): Integer; static;

    Parameters

    <-> Parameter Type Description
    const Value TCellValue Value we are formatting. Normally this shouldn't affect the number of percents in the format string, but if the format string is different for positive and negative numbers or zero values, then the value might affect the result.
    const Format string Cell format.

    See also

    • TFlxNumberFormat
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com