Limit decimal points in dash using significant figures

Hi,

how can I limit decimal places in a dash data grid by selecting the significant figures to display(and not decimal points).

Some examples of 3 decimal places and 3 significant digits:

3 decimal places: 1.023, 10000000.111, 0.001, etc.
3 significant figures: 0.000111, 101, 0.103, 0.100, etc.

Hello @subodhpokhrel7,

You are able to use d3 formatting, I believe that you can get sig figs from that.

If you can’t get anything to work here, then you may be able to fix with your own custom formatter in JS or adjust the data going into the grid when loading.