home ~ projects ~ socials

Parse A String To A Float In Python

input = "234.737"
as_float = float(input)
print(as_float)
Output:
234.737
-- end of line --