int number = 20;
NSString *labelText = [[NSString alloc] initWithFormat"%f", number];
label.text = labelText;
[labelText release];
how would I make the text output the integer, it worked with a slider to output the "slider.value" so now i cant get it to output the integer. I think is has something to do with the @"%f" because when you output a string, you use @"%@d".
NSString *labelText = [[NSString alloc] initWithFormat"%f", number];
label.text = labelText;
[labelText release];
how would I make the text output the integer, it worked with a slider to output the "slider.value" so now i cant get it to output the integer. I think is has something to do with the @"%f" because when you output a string, you use @"%@d".