currently I am developing a program which helps user to adjust the significant figures. Hereby, I used following codes to split decimal numbers by [integer, ., decimal] format using split('.')
len_number1 = (str(number1)).split('.')
when I enter the value of 1.3333 it successfully separate numbers into ['1', '.', '3333'] but when I enter the value of 0.000043 it shows the result of ['4', '3e-05'] whereby I need to get the result of ['0', '.', '000043']
Is there any ways to solve such problem?