Converting the bill text to integer