get Float
Extension function to get a float value from a dimension resource. Returns true if the resource is a float type, and fills out with the value.
Extension function to get a float value from a dimension resource, or a default if not a float.