Formats a numeric value as a South African Rand currency string.
Registered as a process-text handler.
| Parameter | Description |
|---|---|
Param1 |
Numeric value to format |
Converts Param1 to a float, applies math.ceil, then formats the result:
12500 → 12 500)The result is prefixed with R.
On conversion failure, returns the original value wrapped in square brackets (e.g. [invalid]).
Example: "12500.75" → "R12 501"
Returns the formatted currency string.
ObjProcessText(ObjData.ObjData) — inherits database and config access from ObjData.
cythonize -3 -a -i ObjTextPrintcurrency.py
Updated : 2025-10-02