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
shivangi shailesh 8shivangi shailesh 8 

Value 'NaN' cannot be converted from Text to Number ... Getting this error as i am giving value in field as 0.

SandhyaSandhya (Salesforce Developers) 
Hi,

Try Integer.valueOf(yourVariable)

Best Regards,
Sandhya