How are Points Calculated
Points are calculated from a set of multipliers applied to a receipt's eligible subtotal. The variables and formula below define exactly how the number of points earned is determined.
Variables
- m_status — the user's status multiplier (max 2x)
- m_plus — the user's subscription multiplier (max 2x)
- m_loc — the location's point multiplier
- s — the receipt subtotal minus any discounts applicable and before tax
- m_user — the combined user multiplier, where m_user = m_status · m_plus
Formula
The function f calculates the number of points earned:
$$ f(m_{\text{status}}, m_{\text{plus}}, m_{\text{loc}}, s) = \left{ \begin{array}{ll} (m_{\text{status}} \cdot m_{\text{plus}}) \cdot s, & \text{if } m_{\text{loc}} = 1 \ m_{\text{loc}} \cdot s, & \text{if } m_{\text{loc}} > 1 \text{ and } m_{\text{status}} = m_{\text{plus}} = 1 \ (m_{\text{loc}} + (m_{\text{status}} \cdot m_{\text{plus}})) \cdot s, & \text{if } m_{\text{loc}} > 1 \text{ and either } m_{\text{status}} > 1 \text{ or } m_{\text{plus}} > 1 \end{array} \right. $$