# Convert Real To Text (Advanced)

Grammar — Text(val|Real) with style decimal places (groupNumbers|Do/Do Not use delimiters, precision limits: minPrecision|Minimum to maxPrecision|Maximum)
FlagsNative | Function

Converts a real value of a specified formatting style to a text value.

# Arguments

Returns — text

native text FixedToTextAdvanced(
	fixed inNumber,
	int inStyle,
	bool inGroup,
	int inMinDigits,
	int inMaxDigits,
);

Category: Conversion / Basic Conversions

# Examples

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1303

    else {
        lv_dPSTotal = (gv_targetDummyDamageTotal / TimerGetElapsed(gv_targetDummyAnyDummyInCombatTimer));
        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDPSLabel, FixedToTextAdvanced(lv_dPSTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
    }
    libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDamageLabel, FixedToTextAdvanced(gv_targetDummyDamageTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1305

        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDPSLabel, FixedToTextAdvanced(lv_dPSTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
    }
    libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDamageLabel, FixedToTextAdvanced(gv_targetDummyDamageTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
    libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDPSLastSecondLabel, FormatNumber(FixedToInt(gv_targetDummyDamageLastSecond)), PlayerGroupAll());
    gf_TryMeModePanelShowHide2(true);

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2387

        TimerStart(gv_healingDummyResetTimer, c_timerDurationInfinite, false, c_timeGame);
        gv_healingDummyResetTimerStarted = true;
        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHealingLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        if ((TimerGetElapsed(gv_healingDummyHealingTimer) == 0)) {
            libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHPSLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2389

        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHealingLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        if ((TimerGetElapsed(gv_healingDummyHealingTimer) == 0)) {
            libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHPSLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        }
        else {

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2392

        }
        else {
            libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHPSLabel, FixedToTextAdvanced((lv_currentAmountHealed / TimerGetElapsed(gv_healingDummyHealingTimer)), c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        }
        gf_TryMeModePanelShowHide3(true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:1303

    else {
        lv_dPSTotal = (gv_targetDummyDamageTotal / TimerGetElapsed(gv_targetDummyAnyDummyInCombatTimer));
        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDPSLabel, FixedToTextAdvanced(lv_dPSTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
    }
    libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDamageLabel, FixedToTextAdvanced(gv_targetDummyDamageTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:1305

        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDPSLabel, FixedToTextAdvanced(lv_dPSTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
    }
    libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDamageLabel, FixedToTextAdvanced(gv_targetDummyDamageTotal, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
    libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyDPSLastSecondLabel, FormatNumber(FixedToInt(gv_targetDummyDamageLastSecond)), PlayerGroupAll());
    gf_TryMeModePanelShowHide2(true);

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2387

        TimerStart(gv_healingDummyResetTimer, c_timerDurationInfinite, false, c_timeGame);
        gv_healingDummyResetTimerStarted = true;
        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHealingLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        if ((TimerGetElapsed(gv_healingDummyHealingTimer) == 0)) {
            libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHPSLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2389

        libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHealingLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        if ((TimerGetElapsed(gv_healingDummyHealingTimer) == 0)) {
            libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHPSLabel, FixedToTextAdvanced(lv_currentAmountHealed, c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        }
        else {

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2392

        }
        else {
            libNtve_gf_SetDialogItemText(gv_tryMeModePanel.lv_dummyHPSLabel, FixedToTextAdvanced((lv_currentAmountHealed / TimerGetElapsed(gv_healingDummyHealingTimer)), c_formatNumberStyleNormal, true, 1, 1), PlayerGroupAll());
        }
        gf_TryMeModePanelShowHide3(true);