Remove tailing zeros

HI all,
I have created a script to get elemetn id of selected categoruiers.i choose number for type of parameter in Revit.Script was completed i got element ID’s but it shows tailing zeros.How can i avoid that.
Please suggest me!

Create Text parameter instead of Number. use “String from Object”

Hi @jagadeesh116,
This topic has been discussed over and over again on this forum.
Please try searching a little harder before creating a new topic for the same issue.

There are multiple solutions provided across topics in this search:

See what works best for you.