Posted By

tenveer on 10/05/10


Tagged

float retunfloat


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

bobbym245
cnathan


return a float value from a function


 / Published in: Objective C
 

  1. -(float) getValue {}
  2.  
  3. it will return 0 value if -(float) getValue; is not added into the .h file;
  4.  
  5. Solution:
  6. Add -(float) getValue; in the .h file of the function definition.

Report this snippet  

You need to login to post a comment.