kuzudb / explorer

Browser-based user interface for Kùzu graph database
https://hub.docker.com/r/kuzudb/explorer
MIT License
29 stars 5 forks source link

Display `DOUBLE` in float form and not exponential form #159

Closed prrao87 closed 2 months ago

prrao87 commented 2 months ago

Currently, when we click on a node that has a property of typeDOUBLE (balance in the example below), we display the number in exponential form rather than as a float - this makes it harder to read. It would be nice to display this as a float instead.

image

For floats that are larger than say 10^8, we could switch to showing exponential notation instead, so we could define a hard threshold above which floats are shown in a more readable manner.