How can I average numbers from the database?
Posted: Wed Jan 18, 2017 6:20 pm
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
As you can see - the value from your screenshot is a string, so please use JS below: prevar grades = JSON.parse(localStorage.getTitem("averageweight"));/pre instead of: prevar grades = localStorage.getTitem("averageweight");/pre
Thank you. That seems to be working!