Convert a string to integer with decimal in Python,int(s.split('.')[0])