Convert Float number : Float Function « Buildin Function « Python






Convert Float number

Convert Float number

print str(3.1415), float("1.5")

text = "1.234E-10"
print float(text)



           
       

Related examples in the same category