The postfix operation adds a predefined value after the input value. The postfix is defined in the Output field of the operation settings.
How it works
- You specify a postfix string (e.g. “-END”).
- When the operation runs, this string is appended to the end of the input value.
- The original value is kept intact, only extended with the postfix.
Examples
Input | Postfix | Output |
---|---|---|
12345 | -END | 12345-END |
apple | -FR | apple-FR |
789 | kg | 789kg |
100 | USD | 100USD |
Usage in PalDock
Use postfix when you need to:
- Add currencies to numeric values (e.g. 100 → 100USD, 250 → 250EUR).
- Add units of measurement (e.g. 50 → 50kg, 3.5 → 3.5m).
- Append codes or identifiers (e.g. user → user-01).
- Add suffixes to text values for easier categorization or tracking.
- Standardize outputs by giving them a consistent ending marker.
Most common postfixes include:
- Currencies: USD, EUR, CZK, …
- Units: kg, g, m, cm, km, ml, l, …
- Identifiers: -ID, -01, -A
- Tags/labels: -TEST, -DEV
Best Practices
- Keep postfixes consistent across your workspace (e.g. always use EUR, not sometimes €).
- Combine postfix with conditions so it only applies in the right context (e.g. only add kg if the value represents weight).
- Avoid doubling postfixes (e.g. 100USDUSD). Add a validation check if needed.
- Be careful with APIs that might expect raw numeric values without suffixes.