When you copy a definition that contains grams (g) into another worksheet, you end up with gravity in the other file
-
Type m:=1g, mark this text and press Ctrl+C
-
Create a new worksheet with Ctrl+N
-
paste with Ctrl+V, you get m:=1g.e
I have not tested all the units but the problem happens with both English and German user interface.