I have written the following code:
x = 0.01
print(format(x, '0.27f'))
print(format(x, '1.27f'))
print(format(x, '2.27f'))
All the above print statements, are giving below output:
0.010000000000000000208166817
Please help me understand the difference between '0.27f'
and '1.27f'
and '2.27f'