I tried a lot of methods:
float a = 1234.34;
float b = 1234.52;
float r = a * b;
cout << r << endl;
float c = 1234.34 * 1234.52;
cout << c << endl;
cout << 1234.34 * 1234.52 << endl;
cout << (float)(1234.34 * 1234.52) << endl;
And all of these seem to be giving an infinite values..
1.52382e+006
1.52382e+006
1.52382e+006
1.52382e+006
What am I doing wrong here?