Completed string number coversion and smallest value array methods.