Template Variables: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 999: | Line 999: | ||
[INWORDS] | [INWORDS] - writes out a number in words. This works in English only. | ||
Expamles: | |||
[INWORDS] [ | [INWORDS] 10 will write out then | ||
[INWORDS] [INVOICEPAYMENTSNUM] will write out the invoice sum of all payments | |||
[INWORDS] [INVOICEPAYMENTSNUM] [+] 10 will write out the invoice sum of all payments plus 10 | |||
Note: Always use the template variables ending with NUM if numbers are involved. The math functions will only work with numbers with a decimal point (not a decimal comma) and no thousands separator and no currency symbol. | Note: Always use the template variables ending with NUM if numbers are involved. The math functions will only work with numbers with a decimal point (not a decimal comma) and no thousands separator and no currency symbol. | ||