turn integer into decimalt python code example Example 1: python cast to float float('1.234') Example 2: how to convert int in python score = 89 score = str(score)