...
|
...
|
@@ -18,9 +18,9 @@ |
|
|
@implementation NSNumber (YH_UnitConvert)
|
|
|
|
|
|
- (NSNumber *)SToIntMS {
|
|
|
const double ms = self.doubleValue;
|
|
|
const double s = ms * 1000;
|
|
|
return @((NSUInteger)s);
|
|
|
const double s = self.doubleValue;
|
|
|
const double ms = s * 1000;
|
|
|
return @((NSUInteger)ms);
|
|
|
}
|
|
|
|
|
|
@end
|
...
|
...
|
|