Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash data table Numeric column - decimal places

$
0
0

@user123 wrote:

I am trying to specify 2 digits after the decimal (2 decimal places) by using Format on a Numeric column, when I create a data table:

{‘name’:‘Price’, ‘id’:‘price’, ‘editable’:True, ‘type’:‘numeric’, ‘format’:Format(precision=2)}

When I enter the data in the table, I am able to enter a number with decimals e.g. 70.55. However, when I move the mouse to the next column, the figure gets rounded to 71. I would like it to show as 70.55 and not round up. How can I fix this ?

Thanks !

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images