This is how to set button title
,
for int value:
[button setTitle:[NSString stringWithFormat:@"%i", intValue] forState:UIControlStateNormal];
for float value:
[button setTitle:[NSString stringWithFormat:@"%0.1f", floatValue] forState:UIControlStateNormal];