Formatting Switch.Calculation output
Posted: Fri Feb 27, 2026 10:45 am
Good morning. I am looking for some help in formatting the output of a switch calculation. I do a basic calculation on metadata to pull the printed sheet count of an imposed file. I will be using the result to make a data matrix printed on the job to pass the information to a finishing machine. However the data always needs to be four digits. Is there a simple way to add formatting to the calculation to add leading zeros to ensure the calculation result is always 4 digits?