NO MOM
I CANT PAUSE.
Scientific Number Tools Documentation
Support
Browse documentation

Display numbers and create a formatter

Use built-in notation or define the suffix sequence for your game.

On this page

Display a value

For 1250, To Fixed String with Decimal Places 2 produces 1250.00. Use To Formatted String with Formatter Name Scientific for scientific notation or Suffix for the configured suffix formatter. Parse with the matching formatter when accepting text input, and inspect the resulting error.

Built-in formats

Format Example with 12500 Use
Fixed 12500.00 with 2 decimals Decimal output with a fixed number of fractional digits.
Suffix 12.5k with the default suffixes Counters and economies; configurable suffixes.
Scientific 1.25e4 Mantissa and decimal exponent.
Engineering 12.5 x 10^3 Exponents in multiples of three.

Registered custom formatters also appear in the selector. None uses the project default. To Exponential String and To Precision String are additional conversions: the first accepts decimal places and the second significant digits; they are not additional selector entries.

  1. Connect the value and execution wire to Print Scientific Number.
  2. Select Fixed in Formatter Name. The Decimal Places pin appears; start with 2.
  3. For 5000, run: the output should be 5000.00. Change to 0 for 5000, then 4 for 5000.0000.
  4. Select Scientific: the pin disappears and output uses scientific notation. Switching back to Fixed preserves your precision.

The pin stays visible when Formatter Name is connected, the project default is Fixed, or Decimal Places is wired. Only Fixed uses this setting; other formats retain their configuration. On nodes created before this update, use Refresh Node if the new pin is missing.

Fixed clamps Decimal Places to 0–18 and reuses To Fixed String. Values that cannot safely convert to double use the same exponential fallback; it does not produce unlimited decimal strings. Formatting may round and does not add precision. Print Scientific Number is a development aid and produces no output in Shipping/Test.

Create your notation

  1. In Content Browser, choose Miscellaneous → Scientific Number Formatter. Name the asset DA_CoinsNotation.
  2. Set Formatter Name to CoinsNotation, Notation to Suffix, Exponent Step to 3 and Pattern to {Mantissa}{Suffix}.
  3. Set Maximum Fractional Digits to 2 and Minimum Fractional Digits to 0.
  4. Set Initial Suffixes to an empty first entry, followed by K, M, B. Tier zero must be empty. Suffixes are case-sensitive.
  5. Set Preview Value to 1.25e3 and Preview Parse Input to 1.25K. Review both directions and save.
  6. Add the asset to Project Settings → Scientific Number Settings → Formatter Assets. Reload configured formatters through the supported API, or restart the editor.
  7. Use To Formatted String with Formatter Name CoinsNotation in your Blueprint.
Expected result

1250 displays as 1.25K. Parsing that text with CoinsNotation recovers 1250. Adding the asset to settings also makes it part of the configured cook.

Handle invalid rules

A pattern must contain exactly one {Mantissa}, followed by {Suffix} or {Exponent} according to its notation. Resolve duplicate names, duplicate suffixes and invalid tokens before saving. Registry reload validates the complete replacement; a rejected configuration preserves the previous registry.

Formatting can round. Do not use interface text as lossless persistence; see save and recover.

No Mom I Cant Pause · Contact support · Discord

Scientific Number Tools 1.0.0 · Source documentation ·