I tried a small C++ program and it does not exhibit this behavior. Why is it not showing there?
program: #include <iostream>
using namespace std;
int main(int argc, char argv) { float s = 165 * 1.40; cout << s << endl; }
output: ./floats 231
program: #include <iostream>
using namespace std;
int main(int argc, char argv) { float s = 165 * 1.40; cout << s << endl; }
output: ./floats 231