AttributeAsDouble

AttributeAsDouble 1:

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

AttributeAsDouble 2: Return value

Name

Type

AttributeAsDouble

LREAL

AttributeAsDouble 3: Inputs

Name

Type

a

SXmlAttribute

Sample call:

lrValue := fbXml.AttributeAsDouble(xmlAttr);