3 - 0.5
» 2.5
The number 3 is "promoted" to a double, the type of 0.5, in order to perform the subtraction.
"workfile.backup" - ".backup"
» workfile
The subtraction operator works with strings; the result is the removal of the first occurrence of the second string from the first string.
"abc" - "def"
» abc
The second string does not appear in the first, so nothing is removed.