Are you working as cashier or teller maybe? ya..ya.. i'm very understood what you're facing out now. There are 2 things you need to develop here: 1. Parser (mean: will parse the amount into several variables) 2. Dictionary (every variable declare above will bind to word on dictionary.) I can help you with the parser but i have no time with the dictionary. Beside, English isn't my 1st language. I'm hungry now, maybe after dinner i'll write it for you. X|