GetFloat method: JsonObject class
Syntax
GetFloat(Name)
Description
Use this method to return the float value of the property mentioned by the input parameter.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specifies the name of the float object as a string. |
Returns
Float.
Example
Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("Expenses", "TYPE_FLOAT");
Local float &jf = &jObj.GetFloat("Expenses");