MJS Number() parseInt()

If you are asking a question, please follow this template:

  1. My goal is: Use Number() parseInt() funcions in init.js
  2. My actions are: just type the functions. it is require to load some files/library?
  3. The result I see is: error function not defined
  4. My expectation & question is: how to use Number(), parseInt().

Im recieving data by uart, i need that every character of data to be interpreted as numbers (not string) in order to make calculations. any ideas? thank you!

Just use JSON.parse().