Typecast value to string