frontend
frontend copied to clipboard
Unify a display for real numbers
Summary
Currently in the tree view, negative floating-point numbers are displayed in the scientific notation (e.g. -1e-01
) while positive floating-point numbers are displayed in the decimal notation (e.g. 0.1
). We received complains from our user that it is not readable, especially a numbers like -1e+0
where e+0
could be easily omitted.
Steps to Reproduce
Ingest a negative and positive floating-point numbers in scientific metadata e.g.
Current Behaviour
Negative floating-point numbers are differently displayed than positive floating-point numbers
Expected Behaviour
There are a few options:
- display both negative and positive floating-point numbers in the decimal notation or in the scientific notation
- add a configuration switch between the decimal notation and in the scientific notation display
- display floating-point numbers near by one value in the decimal notation e.g.
-0.01
while floating-point numbers faraway from one value e.g.6.022140857e+23
in the scientific notation
I would say that the option 3) looks for me for the the best one.