Syntax
AddFloat(name, value)
Description
Use this method to add a Float value to the JSON Object.
Parameters
Name | Description |
---|---|
name | Specifies the name of the float that needs to be added as a string. |
value | Specifies the float to add to the JSON Object as a Float type. |
Returns
None.
Example
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
&oObject.AddFloat("MyFloat", 5.1234567);