In <YU%3d.179$Xy5.164 at fe61.usenetserver.com>, Jimmie Webb wrote: > I tried x = float(nCost) but keep getting an error > > ValueError: Invalid literal for float(): EATE TA Maybe the slice values are just wrong? Have you printed all your variables after picking them from the string to make sure they contain what you expect? Ciao, Marc 'BlackJack' Rintsch