Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to convert variable in Python ?

Test = 12 # integer 
Converter = float(Test) # Converter = 12.0
Converter = str(Test) # Converter = "12.0"
Converter = int(Test) # Converter = 12
 
PREVIOUS NEXT
Tagged: #convert #variable #Python
ADD COMMENT
Topic
Name
4+9 =