title: Which type to save percentages
body: <p>Is it appropriate to use the <code>double</code> type to store percentage values (for example a discount percentage in a shop application) or would it be better to use the <code>decimal</code> type?</p>