FText::AsMemory

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

Choose your operating system:

Windows

macOS

Linux

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 AsMemory
(
    uint64 NumBytes,
    const FNumberFormattingOptions *const Options,
    const FCulturePtr & TargetCulture,
    EMemoryUnitStandard UnitStandard
)

Remarks

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