I need to use precision formatting in order to bypass the default scientific notation that python gives for floats.
a = 0.0000435
convert = '{0:.10f}'.format(a)
print(convert)
The above code produces: 0.0000435000
However, I also need to get rid of the zeros after the last decimal number (in this case after 5). The float in variable "a" can change too so the positioning of the last decimal number might be different every time.
E.g. 0.0000005100, 0.00205437000 etc.