Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounded Bug at Division, elementary operation #656

Open
noxsite opened this issue Jun 30, 2023 · 0 comments
Open

Rounded Bug at Division, elementary operation #656

noxsite opened this issue Jun 30, 2023 · 0 comments

Comments

@noxsite
Copy link

noxsite commented Jun 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant