-fixed problem extracting floating value from string

-fixed problem extracting floating value from string