Method AsFloat
AsFloat()
Explicitly casts this Property into a float. Handle convertible types properly.
Declaration
public float AsFloat()
Returns
Type | Description |
---|---|
float | The float value. |
Exceptions
Type | Condition |
---|---|
InvalidCastException | Thrown if the stored type isn't compatible with the requested type. |