Answers for "get float from string python"

2

extract float from string python

>>> re.findall(r"[-+]?d*.d+|d+", "Current Level: -13.2 db or 14.2 or 3")
['-13.2', '14.2', '3']
Posted by: Guest on February-17-2020

Code answers related to "get float from string python"

Python Answers by Framework

Browse Popular Code Answers by Language