2016.8.3
//- (void)initDataArr {
// self.monthArr = [NSMutableArray arrayWithObjects:@"1", @"2", @"3", @"4", @"5", @"6", @"7", @"8", @"9", @"10", @"11", @"12", nil];
// NSMutableArray *arr1 = [NSMutableArray array];
// for (float i = 5; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr1 addObject:str];
// }
// NSMutableArray *arr2 = [NSMutableArray array];
// for (float i = 6; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr2 addObject:str];
// }
// NSMutableArray *arr3 = [NSMutableArray array];
// for (float i = 7; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr3 addObject:str];
// }
// NSMutableArray *arr4 = [NSMutableArray array];
// for (float i = 7.5; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr4 addObject:str];
// }
// NSMutableArray *arr5 = [NSMutableArray array];
// for (float i = 7.5; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr5 addObject:str];
// }
// NSMutableArray *arr6 = [NSMutableArray array];
// for (float i = 8; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr6 addObject:str];
// }
// NSMutableArray *arr7 = [NSMutableArray array];
// for (float i = 8; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr7 addObject:str];
// }
// NSMutableArray *arr8 = [NSMutableArray array];
// for (float i = 8.5; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr8 addObject:str];
// }
// NSMutableArray *arr9 = [NSMutableArray array];
// for (float i = 8.5; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr9 addObject:str];
// }
// NSMutableArray *arr10 = [NSMutableArray array];
// for (float i = 9; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr10 addObject:str];
// }
// NSMutableArray *arr11 = [NSMutableArray array];
// for (float i = 9; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr11 addObject:str];
// }
// NSMutableArray *arr12 = [NSMutableArray array];
// for (float i = 9.5; i < 24.5; i=i+0.5) {
// NSString *str = [NSString stringWithFormat:@"%.1f%%", i];
// [arr12 addObject:str];
// }
//
// self.interestArr = [NSMutableArray arrayWithObjects:arr1, arr2, arr3, arr4, arr5, arr6, arr7, arr8, arr9, arr10, arr11, arr12, nil];
// self.tempArr = arr1;
// self.month = [[self.monthArr objectAtIndex:0] intValue];
// self.interest = [[self.tempArr objectAtIndex:0] doubleValue];
//}