I'll fix these - the first one is being caused by "." not being treated as part of the number in this context (somewhat visible by syntax coloring), which is something I need to look into in general.
I could use an example of what you mean by the variable issue.