Make a $ the way IRstuff said, type :=1 (or ~1 to make the unit global).
$:=1
Now put $ in the unit placeholder when you define your variables and after the result. It has to be type with ctrl-shft-k like before, but if you highlight the original $ and copy it to the clipboard, you can paste it into all of the placeholders.