2 zero decimals python code example
Example 1: w=how to tell if decimal in python
i = 100
f = 1.23
print(type(i))
print(type(f))
# <class 'int'>
# <class 'float'>
Example 2: how to add extra zeros after decimal in python
>>> format(2.0, '.6f')
'2.000000'