title: Cannot initialize a parameter of type 'id _NonNull' with an lvalue of type double
body: <p>Objective C:</p>
  
  <p>I have multiple variables of type double, long long, NSString and int which I want to put in an array to be printed as a single line in a CSV file</p>
  
  <p>NSArray *ValArray = [NSArray arrayWithObjects: var1, var2, var3 , var4, var5, nil];</p>
  
  <p>Here var1 is of type double and var2,var3 are of the type long long.</p>
  
  <p>This gives me a syntax error saying that "Cannot initialize a parameter of type 'id _NonNull' with an lvalue of type double" at var1</p>
  
  <p>I'm a newbie in Objective C and unable to figure out what I'm doing wrong.</p>