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

An exception occurs when summarizing floating-point values in expressions #6917

Closed
JaneSjs opened this issue Sep 8, 2023 · 0 comments · Fixed by #6920
Closed

An exception occurs when summarizing floating-point values in expressions #6917

JaneSjs opened this issue Sep 8, 2023 · 0 comments · Fixed by #6920
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Sep 8, 2023

User Issue: T14544 - Adding two numbers error
https://surveyjs.answerdesk.io/internal/ticket/details/T14544


View Demo
image

Uncaught TypeError: o.toFixed is not a function
    at e.correctAfterPlusMinis (survey.core.min.js:6:50231)
    at e.sumAnyValues (survey.core.min.js:6:50706)
    at t.plus (survey.core.min.js:6:118526)
    at t.consumer (survey.core.min.js:6:118420)
    at t.evaluate (survey.core.min.js:6:110017)
    at e.runValues (survey.core.min.js:6:142443)
    at e.run (survey.core.min.js:6:141941)
    at e.runCore (survey.core.min.js:6:143446)
    at t.run (survey.core.min.js:6:143913)
    at t.runDefaultValueExpression (survey.core.min.js:6:284895)
@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Sep 8, 2023
@JaneSjs JaneSjs changed the title Uncaught TypeError: o.toFixed is not a function occurs when summarizing two floating-point values in expressions Uncaught TypeError: o.toFixed is not a function occurs when summarizing floating-point values in expressions Sep 8, 2023
@andrewtelnov andrewtelnov self-assigned this Sep 8, 2023
andrewtelnov added a commit that referenced this issue Sep 8, 2023
tsv2013 pushed a commit that referenced this issue Sep 10, 2023
@RomanTsukanov RomanTsukanov changed the title Uncaught TypeError: o.toFixed is not a function occurs when summarizing floating-point values in expressions An exception occurs when summarizing floating-point values in expressions Sep 11, 2023
@OlgaLarina OlgaLarina added this to the v1.9.107 milestone Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants