Documentation
IPS_SetVariableProfileDigits
bool IPS_SetVariableProfileDigits (string $ProfileName, int $Digits)
Parameters
| ProfileName | Name of the profile. Available profiles can be queried via IPS_GetVariableProfileList |
| Digits | Number of decimal places displayed in the visualization |
Returns
If the function succeeds, it returns TRUE, otherwise FALSE.
Description
This function sets the number of decimal places displayed in the visualization to Digits for the variable profile with the name ProfileName.
Standard profiles, which cannot be changed, start with a tilde (~).
Example
IPS_SetVariableProfileDigits("Temperature", 1);