Closed yen-shi closed 4 years ago
Now It's only allowed to pass floating-point values less than 1.0 to parseFloat(), and maybe we can discuss whether it's reasonable.
I have addressed the comments and open a new PR here: https://github.com/nianzelee/ssatABC/pull/7
Use std::string as a temporary buffer to collect all digits, and use std::stod() to parse the floating-point numbers. Print a warning message when there are more than 15 digits after the decimal point.