tts,temp to integer