Task

Express a number in decimal as a fixed-length string with leading zeros.



For example, the number   7.125   could be expressed as   00007.125.




beads 1 program 'Formatted numeric output'
calc main_init
	var num = 7.125
	log to_str(num, min:9, zero_pad:Y)