Jan-02-2022, 01:06 AM
in the following, is the 3 the digits to the right of the decimal?
what does the 2 mean?
print(f"{x: 2.3f}")
12.346What if my number was 123456.345 and I want to see 123456.3
what does the 2 mean?
print(f"{x: 2.3f}")
12.346What if my number was 123456.345 and I want to see 123456.3