Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -183,7 +183,8 @@ if 'input_key' in current_page and current_page['input_key'] is not None:
|
|
| 183 |
st.session_state.answers['useful_assets'][f'quant_value_{i}'] = value
|
| 184 |
|
| 185 |
if is_percentage:
|
| 186 |
-
st.markdown(f"**{name}: {value
|
|
|
|
| 187 |
elif is_integer:
|
| 188 |
st.markdown(f"**{name}: {int(value)}**")
|
| 189 |
else:
|
|
|
|
| 183 |
st.session_state.answers['useful_assets'][f'quant_value_{i}'] = value
|
| 184 |
|
| 185 |
if is_percentage:
|
| 186 |
+
st.markdown(f"**{name}: {value:.1f}%**")
|
| 187 |
+
# st.markdown(f"**{name}: {value*100:.1f}%**")
|
| 188 |
elif is_integer:
|
| 189 |
st.markdown(f"**{name}: {int(value)}**")
|
| 190 |
else:
|