Returns the value of the given attribute on the given element, cast to a number.
If the attribute value cannot be cast to a number, undefined
is returned.
The element from which to retrieve the attribute value.
The attribute name.
The cast attribute value.