@"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);
สั่มี่