Search Results for

    Show / Hide Table of Contents

    TFormulaMessages.FloatToString Method

    This is a non-localized version of FloatToStr It will always use "." as decimal separator. If you are localizing this unit to your language, change this function to be: public string FloatToString(double Value) { return Value.ToString(); } And it will use your current locale to get the decimal separator. Just remember that if you for example use "," as decimal sep, you should also change fmArrayColSep, fmFunctionSep and all vars with value=","

    Syntax

    Unit: FlexCel.Core

    class function TFormulaMessages.FloatToString(const Value: Double): string; static;

    Parameters

    <-> Parameter Type Description
    const Value Double Value to convert

    Returns

    String using ALWAYS "." as decimal separator, regardless of the regional settings

    See also

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