getFloatByAttr

Returns the float value that the given attrRes refers to.

Throws

if the given attribute cannot be found.