easy way of finding decimal places,len(foo.split('.')[1])