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
Ashvin Jadhav 13Ashvin Jadhav 13 

result of calculatiion in JS function is coming as NaN

Suraj TripathiSuraj Tripathi

Hi Ashvin,

NaN (Not a Number).

It comes when we send String, Infinity for calculation.

Please check your code with console. what you send for calculation.

Link:-https://stackoverflow.com/questions/3215120/why-javascript-says-that-a-number-is-not-a-number

Mark as a best if it helps you!

Regards,

Suraj