@"1111.11"转 longlong 不丢失精度
NSString *str = @"FFFF00FF";NSScanner* scanner = [NSScanner scannerWithString: str];
unsigned long long longValue;[scanner scanHexLongLong: &longValue];NSLog(@"LongValue = %lld", longValue); สั่มี่ไม่ย่
NSString *str = @"FFFF00FF";
NSScanner* scanner = [NSScanner scannerWithString: str];
unsigned long long longValue;
[scanner scanHexLongLong: &longValue];
NSLog(@"LongValue = %lld", longValue);
สั่มี่ไม่ย่