Used sprintf() for decimal number tests