Monday, February 10, 2014

When JavaScript integers are put into string fields at Web SQL databases they seem to end up with a one place decimal precision.

You will see a decimal followed by a zero at the end of your "number." One hacky cure is to add an empty string to the integer (making it a string) before sending it to Web SQL.

No comments:

Post a Comment