strtof is C++11, not supported on Visual Studio yet.

strtof is C++11, not supported on Visual Studio yet.
Switched to strtod.