#ifndef T2DLL_UT2UTILS_H #define T2DLL_UT2UTILS_H #include "../common.h" class AFX_CLASS_EXPORT UT2Utils { public: static unsigned int Float2Int(float inValue); static void GetRoomNumberString(int inNumber, CString& outStr); static void GetHourMinute(int inValue, int& outHour, int& outMinute); static void GetMonetaryString(int inValue, CString& outStr); static int Randomize(int inRange) { return (inRange == 0) ? 0 : (rand() % inRange); } }; #endif