I think the '10.0' has a space in front of it, which means the system is now interpreting that value as a string. When you have mixed numeric and character in a variable it will default to character, as all numerics can be characters, but only some characters can be numerics.