Update statswindow.cpp

Fixes a build issue on MSVC ('floor' : ambiguous call to overloaded function)