Format st.number_input

Hi,
I have an issue about formatting my values.

house_price= st.sidebar.number_input(“House Price”, value=1_250_000.0 ,step=0.1, format=“%0.2f”)

I want it to shown as 1,250,000.00 on st.numver_input

is it possible

1 Like

I have a similar issue… 177 views but no one knows how to fix the formatting for this particular case…


Consider upvoting the Github issue on that topic:

1 Like