Update macros.cpp

Added string-int conversion