POWER CHART Problems EXPORTING data to csv file

Hello. I'm using POWER CHART in PERSPECTIVE.

Im loging with INGNITION HISTORIAN data like TEMPERATURE. A float value with 2 decimals. Example: 23,56 ºC

Everything is ok for visualize the data in graph. The problem begin when I'm in the power chart and use the "EXPORT" option to csv file.

The CSV file show values like this:

They're not the same type of value.

I checked that in my database is OK:

You can see (for expample with temperature) is a float value with 2 decimals. I think is OK in the DATABASE.

Inside perspective property editor can change only date and time format for exporting item. Nothing more..

Some idea what is happening??

Thanks so much
Jose I.

I have a feeling that this issue is flipped and the values are automatically formatted in the Ignition DB Query Browser. For example, I just replicated your issue (using simulated tags) and looking at raw the CSV, I get values like:

1738063481806,-49.25258255004883

But when I look in the DB Query Browser, they are nicely rounded.

I did just have a look and tried some different properties on the chart to try and find a quick easy solution (Ignition based solution) but unfortunately I couldn't find one.

Until someone from IA replies the only things I can think of would be to format / transform the tag values before they are stored in history OR set the column format in Excel (as they are just really long floats) - formatting in Excel has been mentioned as a solution before:

It can be solved in excel, but there are some problems. For example the number of decimals are not always the same:

In the image you can see sometime is 14, sometimes 15.. and when you transform the columns in excel are all at the same time.

And in excel the decimal is 1 more (I dont know why).. 15.. 16..

where can we format / transform the tag values before they are stored in history?? What part in Ingnition I mean.

I think it will be the best solution because you can get the data directly and no changes after that will be needed.

Thanks so much

I have just had a look into this (couldn't remember if there is a way to it directly on a tag) so I attempted to create an OPC / Derived tag that uses the round(value, dp) to format the numbers. However, in history it was all stored the same (when I did an export).

May need to see if anyone else has run into this issue as I am almost out of ideas.

It is floating point. The underlying data is always mantissa and exponent. Rounding is a display operation, and Excel follows its own display rules.

Also note that 32-bit floating point simply cannot retain two decimal places for such large numbers. Even a 64-bit float can only hold ~16 significant digits.

What is the real problem here?

(I suspect a locale problem mis-interpreting the decimal point.)