-1
//string convert into integer
numberIntValue=[numberId intValue];
numberIntValue=16153;
어떻게이 정수를 16
, 15
및 3
으로 나눌 수 있습니까?아이폰 애플리케이션에서 정수를 어떻게 나눌 수 있습니까?
//string convert into integer
numberIntValue=[numberId intValue];
numberIntValue=16153;
어떻게이 정수를 16
, 15
및 3
으로 나눌 수 있습니까?아이폰 애플리케이션에서 정수를 어떻게 나눌 수 있습니까?
NSInteger one=numberIntValue/1000;
NSInteger two=(numberIntValue%1000)/10;
NSInteger three=numberIntValue%10;
어떻게 나눕니 까? –