NSInteger int1 = [[[NSString stringWithFormat:@"%u",(unsigned int) arc4random()]substringToIndex:2] integerValue] ;
NSTimeInterval t = [[NSDate date] timeIntervalSince1970] ;
double dd = t * int1 ;
NSLog(@"%f", dd) ;
unsigned int
is not enough to place the value which is the result of integer * double.