crutchwalkfactory / s60-json-library

Automatically exported from code.google.com/p/s60-json-library
0 stars 0 forks source link

CJsonString::SetReal32L no effect. #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
values->AddReal32L(1.23);

What is the expected output? What do you see instead?
iData of CJsonString will be formatted as "1.23",instead, i saw blank;

What version of the product are you using? On what operating system?
Version of May 30, Windows XP, S60 3rd FP2.

Please provide any additional information below.
I found,in CJsonString::SetReal32L function,need some code follow:
format.iWidth = iData.MaxLength(); // or some length value;
format.iPlaces = 4;

Original issue reported on code.google.com by localiza...@gmail.com on 6 Sep 2010 at 4:46