FText::AsPercent

Generate an [FText](API\Runtime\Core\Internationalization\FText) that represents the passed number as a percentage in the current culture

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Text.h

Include

#include "Internationalization/Text.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp

Syntax

static FText AsPercent
(
    float Val,
    const FNumberFormattingOptions *const Options,
    const FCulturePtr & TargetCulture
)

Remarks

Generate an FText that represents the passed number as a percentage in the current culture

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel