Mega Code Archive

 
Categories / Ruby / Development
 

Printf with format

printf("Number: %5.2f,\nString: %s\n", 1.23, "hello")