The easy way to add leading zeros to an integer is to use the IJ.pad(n,digits) function. It is not obvious how to do it using String.format().
-wayne
> On 18.11.2020 17:04, Kenneth Sloan wrote:
>> I suspect that all numbers are doubles in macros.
>> --
>> Kenneth Sloan
>> [hidden email] >> Vision is the art of seeing what is invisible to others.
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html >
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html