Currently, in open document files, the float value is stored with the string returned by Str procedure which uses the exponent format. As example, storing 4.2 will have the value 4.20000000000000E+000. If i open OO, edit the spreadsheet and then save this cell will get the value 4.2.
The attached patch saves float values using the compact format as returned by FloatToStr taking care to always use the dot as decimal separator, similar to OO.
Log in to post a comment.