It's a way of type casting, that is, converting data from one of C++'s number types to another. In this case you want to convert from a float to an int.
In C you would write,
but I think in C++ the use of static_cast<> is safer.Code:change = (int) (t*100)
http://www.codeproject.com/cpp/static_cast.asp
Bookmarks