How to leave a numeric variable as an attribute, that is, instead of saving it as text, it is saved as a number

Maybe the post discussed previously should answer your query: