function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dev rana 10dev rana 10 

Whene i m run application in Lightning. i get this error.

Hello every one i m new in Lightning. I m trying to create one simple application.
but whene i m check in preview i will get this error.
plz give some suggation to solve this errror.
User-added image
And when i m click on submit button i get this error.
User-added image
James LoghryJames Loghry
You're trying to format a number that's not actually a number (NotANumber).  There could be  type conversion there too (e.g. integer vs. decimal).  Throw some debugger statements around any number related variables you're setting, open Developer Tools in Chrome, and step through the breakpoints to determine where your exception is occurring, and then fix it.