Format a number.

Parameters:

Parameters:
See dedicated page for more information.
The NumberFormatter action converts numeric values into string format using a standard notation with a specified number of decimal digits. It allows for cleaner and more readable numeric outputs, especially for reporting or exporting data.
⚠️ Performance Note:
This action is slower than the ChangeDataType action, which also offers a basic number-to-string conversion.
Use NumberFormatter only when you need more flexibility in formatting; otherwise, prefer ChangeDataType for better performance.
nDecimalDigit.dropZero = true.Input (C1):
| C1 |
|---|
| 2.305 |
| 4.000 |
| 005 |
| 23.2 |
| (3) |
Output (C1):

Settings:
nDecimalDigit: 2dropZero: trueOutput:

Settings:
nDecimalDigit: 3dropZero: trueOutput:

NOTE
- This action is ideal when your numbers need visual clarity or consistent formatting.
- To preserve numeric types (for computation or filtering), avoid formatting — use formatting only before exporting or displaying.
- When speed matters and formatting is simple, use ChangeDataType instead.
