I *ASS*U*ME* you mean MikroElektronika mikroC. Please be specific!
UART1_Write(a);
outputs a SINGLE character of code
a. To output a number as ASCII characters you first need to convert the number to a zero terminated ASCII string in a buffer in RAM, then pass the pointer to that buffer to UART1_Write_Text(). For functions to convert a number to a string see the mikroC Conversions Library - which one to use and the size of the string you need to preallocate depends on the type of the number you are converting.