@"1111.11"은 정확성을 잃지 않고 longlong으로 변환됩니다
NSString *str = @"FFFF00FF";NSScanner* 스캐너 = [NSScanner scannerWithString: str];
unsigned long long longValue;[스캐너 scanHexLongLong: &longValue];NSLog(@"LongValue = %lld", longValue); 英语设计
NSString *str = @"FFFF00FF";
NSScanner* 스캐너 = [NSScanner scannerWithString: str];
unsigned long long longValue;
[스캐너 scanHexLongLong: &longValue];
NSLog(@"LongValue = %lld", longValue);
英语设计