Quote:
Originally Posted by BrianSlick
Code:
-(void)randomMainVoid {
mainInt + 0.01;
NSLog(@"mainInt is: %.02f", mainInt");
time.text = [NSString stringWithFormat:@"%.02f", mainInt];
}
Add that. What does it say when you run it?
|
mainInt = 0.0 when i run the code but the label doesn't change to like 0.01 etc