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. |
---|
Example1:
JavaScriptVBScriptSelect and copy to clipboard
var oFmt = Pm.CreatePmFormat("Group:1;DLen:3;");
var val = oFmt.Format(47225.35458);
// 47 225.354
Dim oFmt
Set oFmt = Pm.CreatePmFormat("Group:1;DLen:3;")
Dim val
val = oFmt.Format(47225.35458)
' 47 225.354