rspock
29th June 2013, 11:59
Hi,
when I try to write float values to a ini settings file I get "Conversion=@Variant(\0\0\0\x87?\x9dp\xa4)" write the parameters in such way
settings.setValue("ASSE_X/Conversion",_CONVERSION_X);
where _CONVERSION_X is a float value.
When i read the parameters I get the right value so maybe it is everything ok but I expected that the value in the ini file looks like Conversion=XXX.XX
when I try to write float values to a ini settings file I get "Conversion=@Variant(\0\0\0\x87?\x9dp\xa4)" write the parameters in such way
settings.setValue("ASSE_X/Conversion",_CONVERSION_X);
where _CONVERSION_X is a float value.
When i read the parameters I get the right value so maybe it is everything ok but I expected that the value in the ini file looks like Conversion=XXX.XX