This PR adds support for decimals like .01. Previously, the parser would crash at isNumber with a ValueError: cannot convert '.' to float. Now it understands this abbreviated way of specifying decimals.
Also added some tests for decimal numbers in varying expressions.
Coverage remained the same at ?% when pulling a7ec30155c18e9f4ce1d5ec4341e1af82dafcb26 on flotwig:allow-abrupt-decimals into de41e02ff7eb7ece314cc59cc51b0c0990970416 on Axiacore:master.
This PR adds support for decimals like
.01
. Previously, the parser would crash atisNumber
with aValueError: cannot convert '.' to float
. Now it understands this abbreviated way of specifying decimals.Also added some tests for decimal numbers in varying expressions.