Function DisplayPropNum
Outputs a number with a prefix and suffix
DisplayPropNum([VALUE],[PREFIX],[SUFFIX],[DEFAULT_IF_ZERO])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | integer | required | n/a | VALUE | The number to display |
2 | string | optional | n/a | PREFIX | The prefix to show before the value |
3 | string | optional | n/a | SUFFIX | The suffix to show after the value |
4 | string | optional | n/a | DEFAULT_IF_ZERO | The default to use if the value is zero |
Returns
The display for a given value
Examples
Example to show the number of bedrooms
{{DisplayPropNum(ALIAS.PROPBEDR,"There are","Bedroom")}}