I\'m trying to compare two strings, but I fail achieving that. Why?
#include #include int main(){ float a = 1231.23123;
It's because the precision of float cannot support so many digits. So b is not "1231.23123". In my test, it's "1231.231201".