getFloat
Retrieve a floating-point value for a particular resource ID.
Return
Returns the floating-point value contained in the resource.
Parameters
res
resources to use for getting the value.
id
The desired resource identifier, as generated by the aapt tool. This integer encodes the package, type, and resource entry. The value 0 is an invalid identifier.
Throws
Throws NotFoundException if the given ID does not exist or is not a floating-point value.