converts 40 to '00040'