Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
Loading...
Searching...
No Matches
UBigIntegerFormatterLibrary Class Reference

#include "BigIntegerFormatterLibrary.h"

Static Public Member Functions

static FString ToDecimalInvariantString (const FBigInteger &Number)
 
static FString & AppendDecimalInvariantToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static FString ToDecimalFullString (const FBigInteger &Number)
 
static FString & AppendDecimalFullToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static FString ToScientificString (const FBigInteger &Number)
 
static FString & AppendScientificToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static FString ToEngineeringString (const FBigInteger &Number)
 
static FString & AppendEngineeringToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static FString ToNamedString (const FBigInteger &Number)
 
static FString & AppendNamedToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static FString ToSINameString (const FBigInteger &Number)
 
static FString & AppendSINameToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static FString ToSISymbolString (const FBigInteger &Number)
 
static FString & AppendSISymbolToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static FString ToHexadecimalInvariantString (const FBigInteger &Number)
 
static FString & AppendHexadecimalInvariantToString (const FBigInteger &Number, UPARAM(ref) FString &AppendTo)
 
static UBigIntegerFormatterGetDefaultFormatter (EDefaultFormatterType Type)
 
static FString GetScientificGroupLabel (int32 PowerOfTen)
 
static FString & AppendScientificGroupLabel (int32 PowerOfTen, UPARAM(ref) FString &AppendTo, int32 &Remainder)
 
static FString GetNamedGroupLabel (int32 PowerOfTen)
 
static FString & AppendNamedGroupLabel (int32 PowerOfTen, UPARAM(ref) FString &AppendTo, int32 &Remainder)
 
static FString GetSINameGroupLabel (int32 PowerOfTen)
 
static FString & AppendSINameGroupLabel (int32 PowerOfTen, UPARAM(ref) FString &AppendTo, int32 &Remainder)
 
static FString GetSISymbolGroupLabel (int32 PowerOfTen)
 
static FString & AppendSISymbolGroupLabel (int32 PowerOfTen, UPARAM(ref) FString &AppendTo, int32 &Remainder)
 
static UGroupLabelerGetDefaultGroupLabeler (EDefaultGroupLabelerType Type)
 

Detailed Description

Provides blueprint functions for formatting BigIntegers

Member Function Documentation

◆ AppendDecimalFullToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendDecimalFullToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in culture-aware decimal format

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strd BI S&

◆ AppendDecimalInvariantToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendDecimalInvariantToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in invariant decimal format

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strd BI S&

◆ AppendEngineeringToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendEngineeringToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in engineering notation

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strse BI S&

◆ AppendHexadecimalInvariantToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendHexadecimalInvariantToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in invariant hexadecimal format

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strh BI S&

◆ AppendNamedGroupLabel()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendNamedGroupLabel ( int32  PowerOfTen,
UPARAM(ref) FString &  AppendTo,
int32 &  Remainder 
)
staticFlavor:Blueprint

Appends the group label for a power of ten in named notation to a string

Parameters
PowerOfTenThe power of ten to get the group label for
AppendToThe string to append to
RemainderOn return, contains any remaining amount from the initial power of ten beyond the returned label
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← lbln BI S&

◆ AppendNamedToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendNamedToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in Named notation

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strsn BI S&

◆ AppendScientificGroupLabel()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendScientificGroupLabel ( int32  PowerOfTen,
UPARAM(ref) FString &  AppendTo,
int32 &  Remainder 
)
staticFlavor:Blueprint

Appends the group label for a power of ten in scientific notation to a string

Parameters
PowerOfTenThe power of ten to get the group label for
AppendToThe string to append to
RemainderOn return, contains any remaining amount from the initial power of ten beyond the returned label
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← lbls BI S&

◆ AppendScientificToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendScientificToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in scientific notation

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strss BI S&

◆ AppendSINameGroupLabel()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendSINameGroupLabel ( int32  PowerOfTen,
UPARAM(ref) FString &  AppendTo,
int32 &  Remainder 
)
staticFlavor:Blueprint

Appends the group label for a power of ten in SI Name notation to a string

Parameters
PowerOfTenThe power of ten to get the group label for
AppendToThe string to append to
RemainderOn return, contains any remaining amount from the initial power of ten beyond the returned label
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← lblmn BI S&

◆ AppendSINameToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendSINameToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in SIName notation

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strsmn BI S&

◆ AppendSISymbolGroupLabel()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendSISymbolGroupLabel ( int32  PowerOfTen,
UPARAM(ref) FString &  AppendTo,
int32 &  Remainder 
)
staticFlavor:Blueprint

Appends the group label for a power of ten in SI Symbol notation to a string

Parameters
PowerOfTenThe power of ten to get the group label for
AppendToThe string to append to
RemainderOn return, contains any remaining amount from the initial power of ten beyond the returned label
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← lblms BI S&

◆ AppendSISymbolToString()

DBN_FORCEINLINE FString & UBigIntegerFormatterLibrary::AppendSISymbolToString ( const FBigInteger Number,
UPARAM(ref) FString &  AppendTo 
)
staticFlavor:Blueprint

Appends the number to a string in SISymbol notation

Parameters
NumberThe number to convert
AppendToThe string to append to
Returns
A reference to the string that was appended to
Implements Opcode:
Flavor:Blueprint S& ← strsms BI S&

◆ GetDefaultFormatter()

static UBigIntegerFormatter * UBigIntegerFormatterLibrary::GetDefaultFormatter ( EDefaultFormatterType  Type)
staticFlavor:Blueprint

Gets the default formatter of the specified type

Parameters
Typethe type of formatter to get
Returns
The default instance of the specified formatter
Implements Opcode:
Flavor:Blueprint BF ← fmt U1

◆ GetDefaultGroupLabeler()

static UGroupLabeler * UBigIntegerFormatterLibrary::GetDefaultGroupLabeler ( EDefaultGroupLabelerType  Type)
staticFlavor:Blueprint

Gets the default group labeler of the specified type

Parameters
Typethe type of group labeler to get
Returns
The default instance of the specified group labeler
Implements Opcode:
Flavor:Blueprint BG ← glbl U1

◆ GetNamedGroupLabel()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::GetNamedGroupLabel ( int32  PowerOfTen)
staticFlavor:Blueprint

Gets the group label for a power of ten in named notation

Parameters
PowerOfTenThe power of ten to get the group label for
Returns
The string representation of the group label
Implements Opcode:
Flavor:Blueprint S ← lbln BI

◆ GetScientificGroupLabel()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::GetScientificGroupLabel ( int32  PowerOfTen)
staticFlavor:Blueprint

Gets the group label for a power of ten in scientific notation

Parameters
PowerOfTenThe power of ten to get the group label for
Returns
The string representation of the group label
Implements Opcode:
Flavor:Blueprint S ← lbls BI

◆ GetSINameGroupLabel()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::GetSINameGroupLabel ( int32  PowerOfTen)
staticFlavor:Blueprint

Gets the group label for a power of ten in SI Name notation

Parameters
PowerOfTenThe power of ten to get the group label for
Returns
The string representation of the group label
Implements Opcode:
Flavor:Blueprint S ← lblmn BI

◆ GetSISymbolGroupLabel()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::GetSISymbolGroupLabel ( int32  PowerOfTen)
staticFlavor:Blueprint

Gets the group label for a power of ten in SI Symbol notation

Parameters
PowerOfTenThe power of ten to get the group label for
Returns
The string representation of the group label
Implements Opcode:
Flavor:Blueprint S ← lblms BI

◆ ToDecimalFullString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToDecimalFullString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to a culture-aware decimal string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strd BI

◆ ToDecimalInvariantString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToDecimalInvariantString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to an invariant decimal string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strd BI

◆ ToEngineeringString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToEngineeringString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to an engineering notiation string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strse BI

◆ ToHexadecimalInvariantString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToHexadecimalInvariantString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to an invariant hexadecimal string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strh BI

◆ ToNamedString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToNamedString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to an Named notiation string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strsn BI

◆ ToScientificString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToScientificString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to a scientific notiation string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strss BI

◆ ToSINameString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToSINameString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to an SIName notiation string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strsmn BI

◆ ToSISymbolString()

DBN_FORCEINLINE FString UBigIntegerFormatterLibrary::ToSISymbolString ( const FBigInteger Number)
staticFlavor:Blueprint

Converts the number to an SISymbol notiation string

Parameters
NumberThe number to convert
Returns
The string representation of the number
Implements Opcode:
Flavor:Blueprint S ← strsms BI

The documentation for this class was generated from the following files: