Promotic
Login logon

Format - method of the PmFormat object

Description:
Conversion of the value into a text string according to the specified format.
Syntax:
String Format(Variant vVal)
Parameters:
vVal(Variant) The value that will be converted into a text string according to the specified format.
Note:
This method is also functional in Web panels.
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oFmt = Pm.CreatePmFormat("Group:1;DLen:3;");
var sVal = oFmt.Format(47225.35458);   // sVal = "47 225.354"

History:
Pm9.00.17: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences