Function DisplayNumberText
Outputs a number in alphanumeric format i.e. for cheques etc.
DisplayNumberText([AMOUNT],[MAJOR],[MINOR],[NUMBER_LENGTH],[DECIMAL_PLACES],[NO_STYLE])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | decimal | required | n/a | AMOUNT | The amount to display. |
2 | string | optional | Pounds. | MAJOR | The text to display for the major part of the number i.e. "Pounds.". |
3 | string | optional | Pence. | MINOR | The text to display for the minor part of the number i.e. "Pence.". |
4 | integer | optional | 15 | NUMBER_LENGTH | The length of the number. |
5 | integer | optional | 2 | DECIMAL_PLACES | The number of decimal places to round to. |
6 | integer | optional | 0 | NO_STYLE | The no pounds style, where > 0 does not show text. |
Returns
The display text for a given amount
Examples
Example to show an amount as alphanumerical text
{{DisplayNumberText(120400)}}