What is the most elegant way to parse an integer specified in a scientific representation, i.e. I have an input file with lines like
value=1.04738e+06
Of course, I can match all the components (leading digit, decimal positions, exponent) and calculate the result, but it seems to me that there is a more direct way.
source share