# format (sprintf) fills a template puts format("%-6s|%5.2f", "pi", 3.14159) # % is the shorthand operator puts "%05d" % 42
width, padding, precision