Promotic

Format - method of the PmFormat object

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

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

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.