Function Number2Display
Outputs a number with as a currency style with pence, if there are no pence these are removed
Number2Display([VALUE])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | decimal | required | n/a | VALUE | The value to format |
Returns
The formatted value as a string
Examples
Number2Display(PRICEASK)
If PRICEASK = 100000.00, then £100,000 is output
If PRICEASK = 100000.10, then £100,000.10 is output
If PRICEASK = 100000.99, then £100,000.99 is output