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!
Revit|690x343

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:

https://forum.dynamobim.com/search?q=Remove%20trailing%20zeros

See what works best for you.

2 Likes