Function SettingDecimal
Gets a setting from the system
SettingDecimal([SVREF],[DECIMAL_PLACES],[DEF_IF_INVALID])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | string | required | n/a | SVREF | The setting reference |
| 2 | integer | optional | 2 | DECIMAL_PLACES | The number of decimal places |
| 3 | decimal | optional | null | DEF_IF_INVALID | The default to return if not found |
Returns
The setting value
Examples
Example of getting a setting
Setting value is {{SettingDecimal("MYSETTING",2,0.12345)}}
