SetAttributeAsDouble

This method sets the value of an attribute. The value here has the data type Double.
Syntax
METHOD SetAttributeAsDouble : SXmlAttribute
VAR_INPUT
a : SXmlAttribute;
value : LREAL;
END_VAR
Return value
Name | Type |
---|---|
SetAttributeAsDouble | SXmlAttribute |
Inputs
Name | Type |
---|---|
a | SXmlAttribute |
value | LREAL |
Sample call:
xmlAttr := fbXml.SetAttributeAsDouble(xmlExistingAttr, 42.42);