myliang/x-spreadsheet

Rounded Bug at Division, elementary operation

noxsite opened this issue · 0 comments

Put this inside a cell:

= 2/3

It will return (a rounded) 0.67

Solve:
At dist file the (dist/x-spreadsheet.js) I replaced this text:

D(l=o/a)>5?l.toFixed(2):l;return

to

D(l=o/a)>5?l.toFixed(14):l;return

Now = 2/3 will returns 0.6666666666667