Im successfully pulling a number from a entity. But if I init that number with an NSNnumber, it seems a random number is generated...
//This code works, and I can write the number to the NSLOG ok.
Misc_RandomNumber *rndNum = [fetchedObjects objectAtIndex:0];
NSLog(@"%@",rndNum.randomNumber); //Log will print the number 1
//From here, numberFound will result to a random number like 2064127
NSNumber *numberFound = [NSNumber numberWithInt:rndNum.randomNumber];
NSLog(@"%@",[numberFound stringValue]);
I just need that database value in an NSNumber, cant seem to get it.