I'm sure this has been asked, but I can't seem to find the correct terms to find it.
I have a function that looks something like this
myFunction[data_]:=Module[{result, x, y},
result = NMinimize[ myModel[data, x, y], {x, y}];
Return[result]
]
When I use it my results look something like
{1234, x$2319->10, y$2319 -> 0.023}
Besides working with global variables, how do I remove the $2319 from x$2319 and y$2319 (ideally as part of myFunction) so I can use the results more easily?

xandywith the$Module? – b3m2a1 Sep 07 '17 at 05:11SymbolNameandToExpression, but that's hacky and not likely to be a solid solution long term. – b3m2a1 Sep 07 '17 at 05:25