Update uart.c

added handling decimal numbers as parameters