Skip to content

Error returning string _value when start with a number #14

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

Open
AdrianofloKi opened this issue Apr 3, 2021 · 0 comments
Open

Error returning string _value when start with a number #14

AdrianofloKi opened this issue Apr 3, 2021 · 0 comments

Comments

@AdrianofloKi
Copy link

AdrianofloKi commented Apr 3, 2021

Hello, (sorry for my english)
Query node: _value: "300x200 POT"
msg.payload return _value : 300

In index.js file, replace line
value = parseFloat(value);
with highlighted

index-js

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