I'm trying to truncate (round down) my f-string formatted float. My original float variable with value 700.75
becomes 700.8
after using f-string with a precision of 1. For ex., I use f-string as below.
quantity = float(f'{quantity:.1f}')
My desired value is 700.7
with precision one. How can I achieve that while still using f-strings?