AttributeAsDouble

This method returns the value of an attribute as data type Double. The attribute is transferred to the method as input parameter.
Syntax
METHOD AttributeAsDouble : LREAL
VAR_INPUT
a : SXmlAttribute;
END_VAR
Return value
Name | Type |
---|---|
AttributeAsDouble | LREAL |
Inputs
Name | Type |
---|---|
a | SXmlAttribute |
Sample call:
lrValue := fbXml.AttributeAsDouble(xmlAttr);