complated the limit function of the number to character