GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace
/
GoXmlTransformer Class
/ DoubleAttr Method
the name of the attribute
the default value to return if the attribute is not present or there is a parsing error
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
DoubleAttr Method
In This Topic
Read an attribute's string value as a double float.
Syntax
C#
public
double
DoubleAttr(
string
name
,
double
def
)
Parameters
name
the name of the attribute
def
the default value to return if the attribute is not present or there is a parsing error
Return Value
the result of calling
DoubleFromString
See Also
Reference
GoXmlTransformer Class
GoXmlTransformer Members