You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Javascript allows omitting leading zero in decimals. If we add [".1"] as a const, the engine will parse it to a number. But when we use it inside a formula ["=0.1"] an error will occur.
Either we support this or not. We have to choose.
Steps to reproduce
it('can or cant parse a decimal without leading zero',()=>{constengine=createEngine([['.1','=.1']]);expect(engine.getCellValue('A1')).toBe(0.1);expect(engine.getCellValue('B1')).toBe(0.1);});
Description
Javascript allows omitting leading zero in decimals. If we add
[".1"]
as a const, the engine will parse it to a number. But when we use it inside a formula["=0.1"]
an error will occur.Either we support this or not. We have to choose.
Steps to reproduce
Links
https://github.com/handsontable/formula-parser/issues/91
The text was updated successfully, but these errors were encountered: