How to change the datatype in q

I have 10 as a string and i want to change the datatype to int?

Cheers

dinesh

Use “parse” instead of "cast’
“I”$“10”

works.. thanks