View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.00
- Last updated
- First released
- Unity version
- 6000.3.9 or later
- Package size
- 3.7 MB
- Files
- 9
- Favorites
- 1
- Views in the past week
- 4
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Advanced Number Formatter (Short, Comma & BigInteger)
Stop copy-pasting number formatting code every project. Format numbers as 1,000 or 1.5M with zero setup. Supports ShortFormat, CommaFormat, and BigInteger for extremely large values.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
Advanced Number Formatter (Short, Comma & BigInteger) screenshot 1
About this asset
# Advanced Number Formatter (Short, Comma & BigInteger) — Unity Plugin
Stop copy-pasting number formatting code every project. Two formatters, zero setup, works everywhere.
---
## Example
Here’s a quick example of how to use the plugin:
using NumberFormat;
string a = CommaFormat.Format(1000000); // "1,000,000"
string b = ShortFormat.Format(1500000); // "1.5M"
---
## What Is This?
NumberFormat gives you two utility classes for the most common number display problems in games.
- CommaFormat - turns `1000000` into `"1,000,000"` — useful for scoreboards, currency displays, and stat screens.
- ShortFormat - turns `1500000` into `"1.5M"` — useful for idle games, leaderboards, and damage numbers where space is limited.
Both formatters are static classes. No MonoBehaviour, no GameObject, no setup. Just call a method.
---
## Editor Preview Window
Open via Window → NumberFormat Preview to test any number and see the formatted result instantly without entering Play Mode.
---
## Requirements
- Unity 2020.3 LTS or newer
- System.Numerics — included in .NET Standard 2.1 (Unity 2021+ default)
- No third-party packages required
---
## License
This plugin is licensed under the **Unity Asset Store End User License Agreement (EULA)**.
Allowed:
- Use in unlimited personal and commercial projects
- Modify the source code for your own use
Not Allowed:
- Reselling or redistributing this asset is not permitted
- Sharing or giving away this asset to others is not permitted
Full license: https://unity.com/legal/as-terms
---
*TheOurGame Developer-https://ourgamedeveloper.github.io/ourgamedev/*
From the publisher's Asset Store listing.
Technical details
## List of our main features:
1. CommaFormat - turns `1000000` into `"1,000,000"`
2. ShortFormat - turns `1500000` into `"1.5M"`
3.Prefix Support - add currency symbols like `$`, `£`, `€`, `¥`, `₹`
4.Suffix Support- append units like `XP`, `Coins`, `Cards`, etc.
5.BigInteger Support - formats extremely large numbers (e.g. `10^63` → `"1Vi"`)
6.EditorPreviewWindow - test and preview formatted numbers instantly without entering Play Mode.