how can I format percentage with parameters format
The styling of st.number_input
must be purely numeric, so you can’t add a “%” symbol. You can control the precision of the number and handle scaling by a factor of 100 within your Python code.
There is a related issue on GitHub, since st.slider
allows not purely numeric formats: format parameter works differently in st.slider and st.number_input · Issue #4897 · streamlit/streamlit · GitHub
Feel free to add an upvote to let our devs know you’re interested.
thanks. I will go to the issue soon