added new method that returns the precision enum value for the number
adding category on nsnumber to generate random numbers