Search
XmlPersistContext.readFloat Method
See Also
 





Reads a floating-point number with the specified name.

Namespace: MindFusion.Diagramming
Package: XmlPersistContext.js

 Syntax

JavaScript  Copy Code

function readFloat (elementName, parentElement, [defaultValue])

 Parameters

elementName

String. A string specifying the name of the number XML element.

parentElement

Element. The parent DOM Element object.

defaultValue
Optional.

Number. The default number to return if specified child XML element does not exist.

 Return Value

Number. The number loaded from XML.

 See Also