The MWE below should clearly demonstrate my problem. If I pass too large values, I get the error Dimension too large. <to be read again>.
If I pass a command \list as the list, I get the errors
Package PGF Math: Unknown function 'Contribution' (in '(0) + ( 100/Contribution, 50/Fundraising, 5/Grants )').
Package PGF Math: You've asked me to divide `0.0' by `0', but I cannot divide any number by `0' (in '0.5*((0.0pt)/(0)*360+(0))+0.5*(0.0pt/(0)*360+(0))').
Arithmetic overflow. \pgfmathdivide@ ...\pgfmath@x by\c@pgfmath@counta
I feel like I'm trying to do simple things, but I couldn't find any solutions on the internet.
MWE
\documentclass{article}
\usepackage{pgf-pie}
\begin{document}
% This works
\begin{tikzpicture}
\pie[
sum = auto
]{
100/Contribution,
50/Fundraising,
5/Grants
}
\end{tikzpicture}
% This doesn't work
\begin{tikzpicture}
\pie[
sum = auto
]{
100000/Contribution,
50000/Fundraising,
5000/Grants
}
\end{tikzpicture}
% This doesn't work either
\def\list{
100/Contribution,
50/Fundraising,
5/Grants
}
\begin{tikzpicture}
\pie[
sum = auto
]{\list}
\end{tikzpicture}
\end{document}


