Use \pgfmathsetmacro\mymacro{...} instead of \pgfmathparse{...}.
From the v2.10 pgfmanual, section 62.1 Commands for Parsing Expressions, page 527:
\pgfmathsetmacro{<macro>}{<expression>}
Defines <macro> as the value of <expression>. The result is a decimal without units.
\pgfmathsetlengthmacro{<macro>}{<expression>}
Defines <macro> as the value of <expression> LaTeX in points.
\pgfmathtruncatemacro{<macro>}{<expression>}
Defines <macro> as the truncated value of <expression>.
In theory you could also say \let\mymacro\pgfmathresult, but I recommend the above macros.