Integer.toString(int) is not working in imagej macro language?

I need to convert integer to string in imagej macro language. How can I do that?

Hi @Zeynab_Mousavi,

have you tried

number = 5;
text = "" + number;
print(text); 

Cheers,
Robert

2 Likes

@haesleinhuepf Worked thanks.