How can I check if a string can be converted to a float?

前端 未结 7 1431
别那么骄傲
别那么骄傲 2021-01-15 04:38

First my context is that of a compiler writer who needs to convert floating point literals (strings) into float/double values. I haven\'t done any floating point programming

7条回答
提交回复
热议问题