Closed florent-guinard closed 2 years ago
Hi Florent - Yes, we are aware of it. Do you need this level of precision? Right now, we are not planning to address it but let us know if it is blocking issue
@illonage Thanks for your feedback. The only issue we have with this change (the level of precision doesn't matter in our case) is the difference of behaviour between the Javascript and the Embedding API: if we compare the data of a Worksheet on a 2022.1 site (using the Javascript API) wiith the exact same Worksheet on a 2022.2 site (using the Embedding API) we'll have differences due to this level of precision even though the underyling data is absolutely identical. It's not a blocking issue though, we should be able to find a solution in this specific case.
The precision of float values returned by the Worsksheet.getSummaryDataAsync function has changed between the Javascript API and the Embedding API.
We have a basic Worksheet embedded with both APIs and we log its summary data using the same code:
const sheet = viz.workbook.activeSheet;
const data = await sheet.getSummaryDataAsync();
console.log(data);
For the same data point, in the Javascript API: in the Embedding API: