how to trim the 0

hi vidya,

I think, simply u can also use like below for this scenario:

@t[1].to_i”

this will return the integer value right i.e 50

Regards,

P.Gokula murthy