Hello,
When parsing float, it's printing me inf instead of the float value.
Hello,
When parsing float, it's printing me inf instead of the float value.
This is the code I use :
if (!GetJsonApi()) CreateJsonApi(); JsonApiStruct json = new JsonApiStruct; json.ExpandFromRAW("{\"TestFloat\": 45.2}");
After executing it the result inside the script log is:
SCRIPT : OnObject:
SCRIPT : OnFloat: inf
It should be :
SCRIPT : OnObject:
SCRIPT : OnFloat: 45.2
Thank you for the report NiiRoZz.
The issue has been fixed internally and will be fixed in the upcoming update to the stable branch.
Regards,
Geez