Open lcd2yyz opened 1 year ago
For a variable with really large range (eg. labs or biomarkers), we currently see this in active filter
If we move slider to the upper half, we'd see something like "640,000 - 1,440,000" in the filter card summary line. Don't have any example for really small decimals on hand, but similar issue with really long numbers.
Propose to display as x.xxEx - x.xxEx
for numbers with >4 significant digits. Which will be 6.40E5 - 1.44E6
for the example above. But I'm curious to hear other's thoughts, and something we can request feedback during our expert user group meeting.
Would this be satisfactory?
@chlebowa Yes! Exactly what I had in mind.
Filter card summary design https://github.com/insightsengineering/teal.slice/issues/220#issuecomment-1514102912 proposes to display by scientific notation, using some rules based on significant digits.
Team need to decide on
Quick google results in the following definition on "significant digits" (link)