有一个data.txt
:
1571040600: 1.9673150889e+03 2.3919535556e+03
1571040900: 1.2449858889e+03 1.5374418444e+03
1571041200: 1.0841996556e+03 1.3565952667e+03
1571041500: 9.5094722222e+02 1.1993240000e+03
1571041800: 1.4359398000e+03 1.7860326778e+03
1571042100: 1.0457769889e+03 1.3188025444e+03
1571042400: 8.2156277372e+02 1.0441558276e+03
1571042700: 6.0619294014e+02 7.7817031248e+02
...
我非常了解1.9673150889e+03
的意思是1.967315088 * 10^3
,
但是是否有内置方法可以将该类型号转换为浮点数?
1.9673150889e+03 -> 1967.3150889