Number Forge Pro – Ultimate extended large-number solution
Key features: Arbitrarily large positive and negative numbers — mantissa/exponent representation ... BigCurve — a ScriptableObject that maps BigNumber input to BigNumber output with ...
by Script Goblin
Price History +
Unity Version: 2022.3 LTS or later (compatible with 2023 and Unity 6)
Render Pipelines: None — runtime only, no rendering dependency
Platform: All platforms supported
Dependencies: None
Source Code: Full C# source included, no precompiled DLLs
Assembly Definition: ScriptGoblin.NumberForge — autoReferenced, clean project integration
Struct: readonly struct with normalized mantissa/exponent representation, around 15 significant digits of precision at any magnitude
Formatting: Four built-in notations — Short (K/M/B), Long (Thousand/Million), Scientific, Engineering — switchable per call via FormatOptions
Custom Names: Subclass BigNumberNames and assign to BigNumberNames.Current to replace all suffixes project-wide
Serialization: Marked [Serializable]; round-trips through ToString and TryParse for use with JSON and custom save systems
Math: Lerp, Abs, Min, Max, Clamp, Floor, Ceil, Sqrt, Pow, Log10 — all returning BigNumber
Demo: Animated demo scene included — showcases BigNumber arithmetic, all four display formats side by side, Lerp, Clamp, Sqrt, Pow, and Log10 on a live animating value
Documentation: XML doc comments on all public API members; full IntelliSense support
Number Forge Pro includes everything in Number Forge and adds three runtime systems and a suite of editor tools built for designing and tuning progression systems.
If you are upgrading from Number Forge, import Pro directly - GUIDs are identical and no references will break.
Key features:
Arbitrarily large positive and negative numbers — mantissa/exponent representation with around 15 significant digits of precision at any scale
Four built-in display formats — Short (1.5K), Long (1.5 Thousand), Scientific (1.5e6), and Engineering (150e3)
FormatOptions per call — control decimal places, trailing zero trimming, and sign characters without changing any global state
Customizable suffix lists — subclass BigNumberNames and assign it once to replace K/M/B with any notation your game uses
Full math API — Add, Subtract, Multiply, Divide, Lerp, Abs, Min, Max, Clamp, Floor, Ceil, Sqrt, Pow, Log10
Mixed-type operators — combine BigNumber directly with int, long, and double without manual casting
TryParse and round-trip ToString — safe parsing from save data and string interpolation without surprises
BigNumberReactive — observable wrapper that fires OnChanged events and threshold callbacks when a value crosses a milestone; resets if the value drops back, so callbacks fire again on the next crossing
BigCurve — a ScriptableObject that maps BigNumber input to BigNumber output with Linear, Smooth, and Step interpolation; editable in the Inspector, testable without entering Play Mode
FormulaEvaluator — evaluates string formulas like "base * level ^ 1.5" at runtime using named BigNumber variables; supports +, -, *, /, ^, parentheses, and sqrt / log / abs functions
Balance Simulator — an editor window that sweeps any variable across a range, shows results in a live table, and copies them as TSV for pasting into a spreadsheet; no Play Mode required
BigNumber property drawer — Inspector fields show formatted values (1.5M) with a raw/formatted toggle for debugging
BigCurve Inspector — add and remove curve keys and test evaluate any input directly in the Inspector
IComparable, IEquatable, and IFormattable interfaces fully implemented
Assembly definitions included — clean integration with any project structure
Demo scenes included — base demo with animated resource counter and format comparison; Pro demo showcasing BigNumberReactive threshold callbacks, BigCurve bar chart, and live FormulaEvaluator output
For questions or issues, contact nregoblin@gmail.com — quick replies guaranteed.