Returns the element corresponding to the specified key as a floating point number.
Namespace:
Sfs2X.Entities.Data
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public virtual float GetFloat(
string key
)
Parameters
- key
- Type: SystemString
The key whose associated value is to be returned.
Return Value
Type:
SingleThe element of this object associated with the specified key;
0 if a mapping for the passed key doesn't exist.
Implements
ISFSObjectGetFloat(String)See Also