Let's denote the amount of money you had in your piggy bank before buying the toy as \( p \).
You spent $13.32 on the toy, which means after the purchase, the amount of money left in your piggy bank can be expressed as:
\[ p - 13.32 \]
According to the problem, after spending the money on the toy, you were left with $25.70. Therefore, we can set up the equation:
\[ p - 13.32 = 25.70 \]
This equation can be used to determine the amount of money you had in your piggy bank before buying the toy.