use built-in 'printf' to convert number