Casting: treating numbers like string and vice versa