AttributeAsFloat

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