Compact Packed values
Convert, format and transport approximate compact values.
On this page
Compact values
Packed stores a float mantissa and an int32 decimal exponent. Use it when reduced precision and range are acceptable in exchange for a compact representation. Keep gameplay calculations requiring normal precision in Scientific Number.
Use Try To Packed Number, Try Make Normalized Packed Number or Try Normalize Packed Number, and check success and Out Error. For example, Base 2500 and Exponent 0 normalize to 2.5 and 3. Unpacking cannot recover precision lost during conversion.
Format Packed directly with its Text, String and development Print nodes. Packed supports Unreal SaveGame properties and an eight-byte network representation; the game still configures replication and authority.