tinytoml icon indicating copy to clipboard operation
tinytoml copied to clipboard

parse error on double numbers

Open rejuce opened this issue 1 year ago • 0 comments

i ahve a toml file that uses for double numbers a leading 0 in the exponent

Distortion-Factors = [ 8.246,0.0812962,-0.000452233,0.109974,-5.38649e-05, 2.77189e-08, ]

with that parsins throws exception

Distortion-Factors = [ 8.246,0.0812962,-0.000452233,0.109974,-5.38649e-5, 2.77189e-8, ] removing leading zeros in exponent fixes the issue, but quite problematic

rejuce avatar Nov 03 '23 15:11 rejuce